;Read in the mesh file
file read-case 4D020c.msh
;
grid check
;Grid scale
grid scale 0.003 0.003 0.003
;Define the solver to be utilized
define/models/solver pressure-based
;Enable pressure based solver? [yes]
yes
;Define the material constants.
define/user-defined/interpreted-functions
;UDF Source File Name [""]
non.c
;CPP Command Name ["cpp"]
"cpp"
;virtual machine stack size [10000]
10000
;display assembly code listing? [no]
no
;
;Specify fluid properties and pertinent property models.
define/materials copy
;Material of type []>
fluid
;database-material-name>
water-liquid
define/materials change-create water-liquid
;material name [water-liquid]
water-liquid
;water-liquid is a fluid
;change Density? [no]
yes
;Density methods: (constant ideal-gas incompressible-ideal-gas boussinesq piecewise-line)
;new method [constant]
constant
;value(kg/m3) [998.2]
1050.
;change Cp (Specific Heat)? [no]
no
;change Thermal Conductivity? [no]
no
;change Viscosity? [no]
yes
;new method [constant]
user-defined
;new function ["cell_viscosity"]
"cell_viscosity"
;change Molecular Weight? [no]
no
;change L-J Characteristic Length? [no]
no
;change L-J Energy Parameter? [no]
no
;change Thermal Expansion Coefficient? [no]
no
;change Degrees of Freedom? [no]
no
;change Speed of Sound? [no]
no
;
;Set boundary conditions at inlet.
define/boundary-conditions velocity-inlet
;zone id/name [inlet]
inlet1
;Velocity Specification Method: Magnitude and Direction [no]
no
;Velocity Specification Method: Components [no]
no
;Velocity Specification Method: Magnitude, Normal to Boundary [yes]
yes
;Reference Fram: Absolute [yes]
yes
;Use Profile for velocity Magnitude? [no]
yes
;Use UDF Profile for Velocity Magnitude? [no]
yes
;profile names list: (udf udf)
;profile name ["udf"]
"udf"
;data name ["cell_viscosity"]
"inlet_x_velocity"
;Coordinate System: Cartesian (X, Y, Z)[yes]
yes
;
define/boundary-conditions fluid
;(fluid)
;zone id/name [fluid]
fluid
;material-name [air]: Change current value? [no]
yes
;material-name [air]>
water-liquid
;Specify source terms? [no]
no
;Specify fixed values? [no]
no
;Motion Type: Stationary [yes]
yes
;X-Origin of Rotation-Axis (m) [0]
0
;Y-Origin of Rotation-Axis (m) [0]
0
;Z-Origin of Rotation-Axis (m) [0]
0
;X-Component of Rotation-Axis [0]
0
;Y-Component of Rotation-Axis [0]
0
;Z-Component of Rotation-Axis [1]
1
;Deactivated Thread [no]
no
;Porous zone? [no]
no
;
solve/set/gradient-scheme
;use Green-Gauss Node-Based gradients? [no]
yes
;
solve/set/discretization-scheme mom
;Convective discretization scheme for Momentum (0 1 2 4 6) [0]
;4 means QUICK
4
;
solve/initialze/compute-defaults allzones
;
;Set the convergence criteria.
solve/monitors/residual convergence-criteria
;continuity residual convergence criterion [0.001]
0.000001
;x-velocity residual convergence criterion [0.001]
0.000001
;y-velocity residual convergence criterion [0.001]
0.000001
;z-velocity residual convergence criterion [0.001]
0.000001
;
solve/monitors/residual plot?
;Plot residuals? [no]
yes
;
solve iterate
;Number of iterations [1]
1000
;
;Write settings to a case file.
file write-case-data
;case file name [""]
"4D020c.cas"
;
;Exit fluent.
exit
订阅:
博文评论 (Atom)
没有评论:
发表评论