FLUENT 中使用 Scheme,如果好好利用,能够大大提高工作效率。这是自己编写的第一个 journal 文件,用来设置一些选项。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Author: huys
; Description: Batch setup for segment one
; Date: 2008/05/25
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Read in the mesh file.
file read-case seg1_m.msh
;Scale it. mm -> m.
grid/scale
;x scale factor [1]
0.001
;y scale factor [1]
0.001
;z scale factor [1]
0.001
;Turn on the energy equation
define/models energy?
;Enable energy model? [no]
yes
;Compute viscous energy dissipation? [no]
no
;include pressure work in energy equation? [no]
no
;include kinetic energy in energy equation? [no]
no
;Include diffusion at inlets? [yes]
yes
;Specify turbulence model.
define/models/viscous/ke-standard
;Enable the standard k-epsilon turbulence model? [no]
yes
;Select equations to solve.
solve/set/equations flow
;Solve Flow equation(s)? [yes]
yes
solve/set/equations temperature
;Solve Energy equation(s)? [yes]
yes
solve/set/equations ke
;Solve Turbulen
; Author: huys
; Description: Batch setup for segment one
; Date: 2008/05/25
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Read in the mesh file.
file read-case seg1_m.msh
;Scale it. mm -> m.
grid/scale
;x scale factor [1]
0.001
;y scale factor [1]
0.001
;z scale factor [1]
0.001
;Turn on the energy equation
define/models energy?
;Enable energy model? [no]
yes
;Compute viscous energy dissipation? [no]
no
;include pressure work in energy equation? [no]
no
;include kinetic energy in energy equation? [no]
no
;Include diffusion at inlets? [yes]
yes
;Specify turbulence model.
define/models/viscous/ke-standard
;Enable the standard k-epsilon turbulence model? [no]
yes
;Select equations to solve.
solve/set/equations flow
;Solve Flow equation(s)? [yes]
yes
solve/set/equations temperature
;Solve Energy equation(s)? [yes]
yes
solve/set/equations ke
;Solve Turbulen