6 scalar
ka = surfactant().adsorptionCoeff().value();
7 scalar
kb = surfactant().desorptionCoeff().value();
8 scalar
CsInf = surfactant().saturatedConc().value();
11 surfactantConcentration().internalField();
17 C.boundaryField()[fsPatchIndex()].type()
18 == fixedGradientFvPatchScalarField::typeName
21 fixedGradientFvPatchScalarField& fsC =
22 refCast<fixedGradientFvPatchScalarField>
24 C.boundaryFieldRef()[fsPatchIndex()]
32 <<
"Bulk concentration boundary condition " 33 <<
"at the free-surface patch is not " 34 << fixedGradientFvPatchScalarField::typeName
fvMatrix< scalar > fvScalarMatrix
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
fvScalarMatrix CEqn(fvm::ddt(C)+fvm::div(phi(), C, "div(phi,C)") - fvm::laplacian(D, C, "laplacian(D,C)"))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionedScalar & D