Go to the documentation of this file.
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
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
fvMatrix< scalar > fvScalarMatrix
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fvScalarMatrix CEqn(fvm::ddt(C)+fvm::div(phi(), C, "div(phi,C)") - fvm::laplacian(D, C, "laplacian(D,C)"))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
const dimensionedScalar & D
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)