3. Work Flow

In this section, a MDL file demo.mdl and the corresponding B2000++ database demo.b2m are worked with. An example of a typical work flow is shown below:

1. Create or modify demo.mdl with a text editor.

2. Launch the input processor b2ip++ and inspect the model with the baspl++ post-processor:

$b2ip++ demo.mdl $ baspl++ demo.b2m

These two commands can be combined to a single command, using the shell's && operator:

$b2ip++ demo.mdl && baspl++ demo.b2m The baspl++ program can be used to inspect the geometry, the element connectivities, the material directions, the shell element thicknesses, the boundary conditions, etc. For repetitive tasks, baspl++ allows for comprehensive Python scripting. If the inspection showed that the model is not yet correct, go back to step 1. Otherwise, proceed to step 3. 3. Run the b2000++ program: $ b2000++ demo.mdl

If the b2000++ program did not complete successfully (i.e., an error message was printed), go to step 1. Otherwise, proceed to step 4.

4. Extract the results. Either use the b2browser:

$b2browser demo.b2m Or (with B2000++ Pro) use the baspl++ post-processor. Here it is used with the Python script demo.py which contains baspl++ commands to extract and to visualize the desired results. $ baspl++ demo.py

If the inspection showed that the computed results are not realistic (this may be due to a modelling error or due to a numerical error), go to step 1 and apply the necessary corrections to the MDL file.