Cell Zone Conditions
The cell zone condition displays the regions and cell zones of the mesh, as shown in the figure below. For a single-region problem, only one region is displayed; for a multi-region problem, as many regions appear. The cell zones belonging to each region appear below it.
Cell zone setup
Region
Double-click on a Region to bring up the window of figure below.
region setup
Select one of the materials in [Setup-Materials] as the material for the region. If you are calculating a mixture of chemical species, select the appropriate mixture. If you want to give the entire region a source term or a constant value, set the appropriate item.
In the case of multiphase flow, set one as primary and the other as secondary, and set the surface tension and cavitation between the two substances. Click the Select button in the figure to open the window shown in the figure on the right to select the substances.
If you are using a cavitation model, you should set primary to gas and secondary to liquid.
Select fluid in multiphase
Cavitation Models
The cavitation model sets the vapor pressure, the model, and the model coefficients. Cavitation occurs when the pressure of the liquid is lower than the vapor pressure.
Cavitation tutorial : NACA66 hydrofoil
Schnerr-Sauer
This is the model presented in the following paper. Enter the Evaporation Coefficient (\(C_v\)), Condensation Coefficient (\(C_c\)), and the diameter (dNuc) and number density (n) of the bubble.
Schnerr, G. H., And Sauer, J., "Physical and Numerical Modeling of Unsteady Cavitation Dynamics", Proc. 4th International Conference on Multiphase Flow, New Orleans, U.S.A., 2001.
Kunz
This is the model presented in the following paper. Enter th Evaporation Coefficient(\(C_v\)), Condensation Coefficient(\(C_c\)), Mean flow time scale(\(t_{Inf}\)) and free stream velocity(\(U_{Inf}\)).
Kunz, R.F., Boger, D.A., Stinebring, D.R., Chyczewski, Lindau. J.W., Gibeling, H.J., Venkateswaran, S., Govindan, T.R., "A Preconditioned Implicit Method for Two-Phase Flows with Application to Cavitation Prediction," Computers and Fluids, 29(8):849-875, 2000.
Merkle
This is the model presented in the following paper. Enter Evaporation Coefficient(\(C_v\)), Condensation Coefficient(\(C_c\)), Mean flow time scale(\(t_{Inf}\)) and free stream velocity(\(U_{Inf}\)).
C. L. Merkle, J. Feng, and P. E. O. Buelow, "Computational modeling of the dynamics of sheet cavitation", in Proceedings Third International Symposium on Cavitation Grenoble, France 1998.
Zwart-Gerber-Belamri
This is the model presented in the following paper. Enter Evaporation Coefficient(\(C_v\)), Condensation Coefficient(\(C_c\)), bubble diameter(dNuc)and nucleate site volume fraction(aNuc). This is not supported in Baram-v24.4 and will be supported in the next version of Baram.
P. J. Zwart, A. G. Gerber, and T Belamri. A two-phase flow model for predicting cavitation dynamics. In Proceedings of the International Conference on Multiphase Flow (ICMF 04), Yokohama, Japan, 2004
Cell Zone Model
Double-click the cell zone to bring up the window of figure below. You can set the Zone Type, Source Terms, and Fixed Values.
cell zone setup
Multiple Reference Frame, MRF
When simulating a rotating object, multiple reference frames are a way to compute the flow around the rotating body in a rotating reference coordinate system without rotating the object. When you select Multiple Reference Frame, the settings section shown in the figure below appears. The detailed settings are as follows
MRF setup
- Rotating Speed : RPM, Revolution Per Minute
- Rotating Axis Origin
- Rotating Axis Direction : Set the rotation direction to be counterclockwise based on the right-hand rule.
- Static Boundary : You must also select an interface face. If you don't know which of the two interface faces is in the cell zone, you can select both. Including faces that are not in the cell zone does not affect the calculation.
Sliding Mesh
A sliding mesh is a method of organizing cellzones around a moving (currently only rotationally supported in the current version, translationally supported in the future) object and moving the mesh around it, where each boundary between a moving cellzone and a stationary cellzone must be configured as an interface. Moving boundaries inside a cellzone should use a moving wall boundary condition.
The settings are rotation speed (RPM), rotation axis center coordinates, and rotation axis direction, with the rotation direction being the same as in a MRF.
Sliding Mesh tutorial : propeller
Porous Zone
When there is porous media or very complex geometry in a small area, it is a way to model the pressure loss as a function of velocity without directly implementing the geometry. The pressure loss can be modeled using the Darcy-Forchheimer model and the power law model.
OpenFOAM's porous media model suffers from a discontinuous velocity distribution in the porous region, and the pressure loss is slightly different from the input conditions. NextFOAM, which Baram uses, solves this problem by improving the interpolation of pressure in porous regions.(For more information on this, see the documentation at this link)
Porous Zone tutorial : duct flow
Darcy-Forchheimer model
You can set the pressure loss for each of the three directions. The direction is determined by two vectors. The two vectors are determined by the inputs(Direction-1 Vector, Direction-2 Vector) and the third direction is the direction perpendicular to the two vectors.
Darcy-Forchheimer model setup
Enter the Inertial Resistance Coefficient(f, Forchheimer coefficient) and Viscous Resistance Coefficient(d, Darcy coefficient) as vectors. The pressure loss is calculated by the following equation.
Power law model
Using two values of \(C_0\) and \(C_1\), calculate with the following equation
Power Law model setup
Actuator Disk
The Actuator Disk model models a rotating body, such as a propeller, as a disk and treats it as a source term for velocity. It has the following settings
Actuator disk setup
- Disk Direction
- Power Coefficient, \(C_p\)
- Thrust Coefficient, \(C_t\)
- Disk Area, \(A\)
- Upstream Point : Coordinates of any point upstream of the disk
- Force Computation method : Froude's method or Variable-Scaling method
Among the methods for calculating thrust, Froud's method uses the following equation
To calculate thrust, the Variable-Scaling method uses the following expression
- T : Thrust magnitude
- \(\rho\) : Monitored incoming fluid density
- A : Actuator disk planar surface area
- \(U_m\) : Incoming velocity spatial-averaged on monitored region
- \(U_0\) : Incoming velocity spatial-averaged on actuator disk
- n : Surface-normal vector of the actuator disk pointing upstream
- a : Axial induction factor
- \(C_p\) : Power coefficient
- \(C_T\) : Thrust coefficient
- \(C_T*\) : Calibrated thrust coefficient
Source Terms
You can set source terms for energy, mass, turbulence-related fields, and more.
Source term setup
There are two ways to give the source term: a value to be applied to the entire cell zone or a value to be applied per unit volume.
For transient problems, source terms can be given by piecewise linear and polynomial according to time.
Time dependent source tutorial : Fire in Room
Fixed Values
You can fix the mean value of the velocity vector, temperature, and turbulence field in the cellzone. For velocity, a relaxation factor is used because it can cause instability in the calculation.
Fixed values setup