How-To Guides¶
- Modeling Chemical Reactions
Model a chemical reaction in M-Star CFD
- Cooling and Dilution
Predict thermal blending in the tank, look for temperature differences. Predict the minimum residence time of the scalar field, look for bypassing.
- Choosing a Simulation Resolution: Agitated Tanks
In this work, we will use M-Star CFD to predict the effects of resolution on power number across a range or Reynolds numbers for multiple impellers. From this output, we will provide guidance on recommended simulation resolutions.
- Loading Initial State
Use a previously run simulation result as an initial condition
- Predicting mass transfer (kLA) in gasified bioreactors
Bioreactor performance and yield is typically informed by the overall transport rate of oxygen from gas bubbles to an agitated fluid. In this work, we model a sparged, benchtop bioreactor with bubble break-up and carbon dioxide production.
- Mixing Bioreactors with Bottom Mounted Impellers
Predict single and multi-fluid blending in tall tanks.
- Computing Blend Time on any Model
How to perform a blend time calculation. We will use a scalar impulse injection in combination with a global variable reduction.
- external-accelerations-examples
Examples of external accelerations
Interacting with the GUI¶
- Duplicate Object Pattern
Duplicate a geometry using built in geometrical patterns such as line, arc, and mirror.
- Viewing Panel Functions
How to rotate, pan, and zoom the 3D view in M-Star Pre
Advanced Modelling¶
- Custom Rheology in T-Junction Pipe
In this tutorial, we will mix a custom non-Newtonian liquid with water. We will show both a simple linear combination of the viscosities and an enhanced mixing with a static mixing element.
- Custom Particle Variables
Configure custom particle variables to capture hydrodynamic conditions and gain valuable insight into the particles exposure to local fluid conditions
- Simple Controller Tutorial
Establish a feedback-loop–controlled CFD setup.
Python, API, Scripting¶
- Environment Setup for Windows with VS Code
Setup a Python environment with M-Star Pre, Microsoft VS Code editor.
- Python Overview
An overview of the Python pre processing capability in M-Star
- Python CLI Example
An explanation of the Python CLI example provided in the documentation
- Optimization Example
Optimize the location of an impeller by using advanced optimization technicques available in the scipy python library
- Python Model Properties
An explanation of how to access and modify M-Star model data from a python script
- Mixing Tank Example
Perform all steps in a CFD workflow from a python script. Performs pre-processing, solving, and post-processing.
Optimization¶
- Tutorial for Optimizer: Simple
Optimize the position of the middle one of three impellers mounted on the same axis to achieve maximum energy input
- Tutorial for Optimizer: Complex
In this example, we want to find a model for the [kLa] that reproduces three experimentally measured [kLa]s by using an optimizer in order to adjust the breakup and coalescence model.