Importing CAD Geometry¶
Companion Files: 500L_TANK.igs, 500L_IMP.igs
Start the M-Star Build via Windows Start Menu
Pre-Process -> Define Outer Geometry
Open 500L_TANK.igs file
Accept default orientation
Accept the default origin location
Specify a fluid height of 0.5 m
Specify a head space of 0 m
Pre-Process -> Define Moving Geometry
Open 500L_IMP.igs file
Accept default mount point
Accept the default axis of rotation
Select motion type: Rotation
Select impeller speed: 60 RPM
Specify placement: 0,0.2,0 m
To minimize additional manipulations, it is recommended that tanks and impellers enter the model with a local origin defined at (0,0,0) and aligned in the +y direction.
The impeller mount point defines the root of the axis of rotation. In general, this point will pass through the center of the impeller hub.
The axis of rotation orientation vector, which is a unit vector rooted at the impeller mount point, defines the axis about which the impeller will spin.
View -> Zoom Extents resets the view to show the entire model
Right-click on the impeller icon and select: Rotate about X, as shown below, and enter 90 degrees. image::image166.jpg[image,width=200,height=185]
Adjust the impeller reference point to (0., 0.2, -0.3), such that the impeller is near the tank sidewall and pumps in the +z direction.
The original impeller rotation axis, define upon geometry import, commutes will all subsequent impeller translations and rotations. It does not need to be redefined.
Pre-Process -> Add Scalar Field
Right-click on the Scalar Field icon and select: Add Box
Select the Scalar Field icon
Specify DiffusionCoefficient: 1e-9 m2/s
Specify ReactionChemistry: 0
Specify ScalarName: Dye
Specify StartingConcentration: 0
Adjust box domain as desired
Specify Scalar Box Starting Concentration: 1
Specify StartTime: 10 s
Specify StopTime: 10 s
The scalar field is a continuous phase that moves in response to advection and diffusion.
Scalar fields can be made to react with other fields via user-defined temperature and concentration dependant reaction rates.
Setting an equivalent StartTime/StopTime has the effect of an instantaneous injection
Select the Simulation Component
Specify Resolution on Reference Length: 180
Specify runtime: 180 s
Specify CheckPointInterval: 30 s
Specify data output: 0.05 s
Specify slice output: 0.1 s
Specify volume output: 0.25 s
Solve -> Run Solver
Choose an appropriate output location
Specify an appropriate number of cores
Start M-Star Post via Windows Start Menu
Browse to your output directory in Windows
Open the slices.txt in ParaView
Press the MStarPost button.
Press the species conc. tab
Since the system is closed, the ConcMean[mol/L] will remain constant over the simulation.
As the dye becomes increasing homogeneous, the ConcStdDev will decrease. This convergence can be used to quantify blend time.
The exposure is a measure of the instantaneous mass transfer rate.
Clear the data by pressing Delete All
Open the volume.txt file in ParaView
Press the MStarPost3D button.
Animate the sequence and observe the time-evolution of the velocity and scalar fields
- Only three dimensional scalar fields (e.g. velocity magnitude, total
kinetic energy, species concentration) can be visualized as 3D volumes.