mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Adding flux to Make/files. And updating scalarTransport header instructions
scalarTransport does not generate its own phiMean anymore but it is given from the user. This "flux" can be generated using the "flux" FO
This commit is contained in:
@ -81,7 +81,7 @@ extractEulerianParticles/eulerianParticle/eulerianParticle.C
|
|||||||
|
|
||||||
particleDistribution/particleDistribution.C
|
particleDistribution/particleDistribution.C
|
||||||
|
|
||||||
|
flux/flux.C
|
||||||
ddt2/ddt2.C
|
ddt2/ddt2.C
|
||||||
zeroGradient/zeroGradient.C
|
zeroGradient/zeroGradient.C
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,6 @@ Description
|
|||||||
the 'schemesField' entry,
|
the 'schemesField' entry,
|
||||||
- The diffusivity can be set manually using the 'D' entry, retrieved
|
- The diffusivity can be set manually using the 'D' entry, retrieved
|
||||||
from the turbulence model or specified nut
|
from the turbulence model or specified nut
|
||||||
- To specify a different flux derived from U enter UPhi velocity field name
|
|
||||||
(the phi used will be calculated based on this UPhi)
|
|
||||||
- To specify a transport quantity within a phase enter phase.
|
- To specify a transport quantity within a phase enter phase.
|
||||||
- bounded01 bounds the transported scalar within 0 and 1.
|
- bounded01 bounds the transported scalar within 0 and 1.
|
||||||
|
|
||||||
@ -113,9 +111,8 @@ Usage
|
|||||||
\table
|
\table
|
||||||
Property | Description | Required | Default value
|
Property | Description | Required | Default value
|
||||||
type | Type name: scalarTransport | yes |
|
type | Type name: scalarTransport | yes |
|
||||||
phi | Name of flux field | no | phi
|
phi | Name of flux field | yes |
|
||||||
rho | Name of density field | no | rho
|
rho | Name of density field | no | rho
|
||||||
UPhi | Name of U to generate phi | no | none
|
|
||||||
phase | Name of the phase name | no | none
|
phase | Name of the phase name | no | none
|
||||||
nut | Name of the turbulence viscosity | no | none
|
nut | Name of the turbulence viscosity | no | none
|
||||||
D | Diffusion coefficient | no | auto generated
|
D | Diffusion coefficient | no | auto generated
|
||||||
@ -162,7 +159,7 @@ class scalarTransport
|
|||||||
//- Name of field to process
|
//- Name of field to process
|
||||||
word fieldName_;
|
word fieldName_;
|
||||||
|
|
||||||
//- Name of flux field (optional)
|
//- Name of flux field
|
||||||
word phiName_;
|
word phiName_;
|
||||||
|
|
||||||
//- Name of density field (optional)
|
//- Name of density field (optional)
|
||||||
|
|||||||
Reference in New Issue
Block a user