User-defined Scalar setup #158
Replies: 3 comments 1 reply
-
Hello @bernardombraga. This is Donggyu. We consider Schmidt number in species model. Best Regards Donggyu Kim |
Beta Was this translation helpful? Give feedback.
-
Hello, Bernardo. There will be two input parameters, D(molecular diffusivity) and Sct(Turbulent Schmidt number). When it comes to alphaDt, I understand that it's just an inverse of Sct. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello @jiban, Exactly, alphaDt is just the inverse of Sct. Sct's advantage is that reference values are reported in the literature. When I wrote my post, I was considering fluids with constant properties, where ν, D, and alphaD are constants. For an ideal gas, ν and D are not constants, but as a first approximation, alphaD is constant (see below). According to Bird's book on Transport Phenomena, the dynamic viscosity (μ) of an ideal gas is approximately: And the diffusivity (D) is approximately: If the solver now only supports alphaD to be constant, it can handle the two cases I mentioned above. For more general cases, the solver would need to be modified. Best regards, |
Beta Was this translation helpful? Give feedback.
-
To set up a user-defined scalar for a turbulent flow in Baram 25.1, the user should specify a laminar coefficient (alphaD) and a turbulent coefficient (alphaDt):
alphaD = 1/Sc
Sc = ν/D
alphaDt = 1/Sct
Sct = νt/Dt
Where Sc is the Schmidt number for the scalar, ν is the kinematic viscosity of the fluid (m²/s), D is the molecular diffusivity of the scalar (m²/s), Sct is the turbulent Schmidt number for the scalar, νt is the turbulent viscosity of the flow (m²/s) and Dt is the turbulent viscosity of the flow (m²/s).
While the coefficients alphaD and alphaDt are required by OpenFOAM, their specification is inconvenient for the user. As a new feature, Baram could allow the user to entry alternatively with the molecular diffusivity (D) and the turbulent Schmidt number (Sct). In this case, Baram would calculate internally alphaD and alphaDt to fill the OpenFOAM dictionary.
Beta Was this translation helpful? Give feedback.
All reactions