|
| TypeName ("VoFSolidificationMeltingSource") |
|
| VoFSolidificationMeltingSource (const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh) |
|
virtual void | addSup (fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | addSup (fvMatrix< vector > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< vector > &eqn, const label fieldi) |
|
virtual bool | read (const dictionary &dict) |
|
| TypeName ("cellSetOption") |
|
| cellSetOption (const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh) |
|
virtual | ~cellSetOption ()=default |
|
scalar | timeStart () const noexcept |
|
scalar | duration () const noexcept |
|
bool | inTimeLimits (const scalar timeValue) const |
|
selectionModeType | selectionMode () const noexcept |
|
bool | useSubMesh () const noexcept |
|
const word & | cellSetName () const noexcept |
|
scalar | V () const noexcept |
|
const labelList & | cells () const noexcept |
|
scalar | timeStart (scalar val) noexcept |
|
scalar | duration (scalar val) noexcept |
|
virtual bool | isActive () |
|
| TypeName ("option") |
|
| declareRunTimeSelectionTable (autoPtr, option, dictionary,(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh),(name, modelType, dict, mesh)) |
|
| option (const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh) |
|
autoPtr< option > | clone () const |
|
virtual | ~option ()=default |
|
const word & | name () const noexcept |
|
const fvMesh & | mesh () const noexcept |
|
const dictionary & | coeffs () const noexcept |
|
bool | active () const noexcept |
|
void | setApplied (const label fieldi) |
|
bool | active (const bool on) noexcept |
|
virtual label | applyToField (const word &fieldName) const |
|
virtual void | checkApplied () const |
|
virtual void | addSup (fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | addSup (fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | addSup (fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< vector > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< vector > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | correct (volScalarField &field) |
|
virtual void | correct (volVectorField &field) |
|
virtual void | correct (volSphericalTensorField &field) |
|
virtual void | correct (volSymmTensorField &field) |
|
virtual void | correct (volTensorField &field) |
|
virtual void | postProcessSens (scalarField &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null) |
|
virtual void | postProcessSens (vectorField &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null) |
|
virtual void | postProcessSens (tensorField &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null) |
|
virtual void | writeHeader (Ostream &) const |
|
virtual void | writeFooter (Ostream &) const |
|
virtual void | writeData (Ostream &) const |
|
Solidification and melting model for VoF simulations.
The presence of the solid phase in the flow field is incorporated into the model as a momentum porosity contribution; the energy associated with the phase change is added as an enthalpy contribution. The solid fraction as a function of temperature alphaSolidT
is specified as a Foam::Function1.
The model writes the field alpha
[01].solid which can be visualised to to show the solid distribution.
- Usage
- Example usage:
VoFSolidificationMeltingSource1
{
type VoFSolidificationMeltingSource;
active yes;
selectionMode cellZone;
cellZone solidZone;
alphaSolidT table
(
(330 1)
(335 0)
);
L 334000;
}
Where:
Property | Description | Required | Default value |
alphaSolidT | Solid fraction as function of temperature | yes | |
L | Latent heat of fusion [J/kg] | yes | |
relax | Relaxation coefficient [0-1] | no | 0.9 |
Cu | Model coefficient | no | 100000 |
q | Model coefficient | no | 0.001 |
- See also
- Foam::fv::solidificationMeltingSource Foam::Function1
- Source files
-
Definition at line 125 of file VoFSolidificationMeltingSource.H.