4 const dimensionedScalar&
D = surfactant().bulkDiffusion();
6 scalar
ka = surfactant().adsorptionCoeff().value();
7 scalar
kb = surfactant().desorptionCoeff().value();
8 scalar
CsInf = surfactant().saturatedConc().value();
10 const scalarField&
Cs =
11 surfactantConcentration().internalField();
17 C.boundaryField()[fsPatchIndex()].type()
21 fixedGradientFvPatchScalarField& fsC =
22 refCast<fixedGradientFvPatchScalarField>
24 C.boundaryFieldRef()[fsPatchIndex()]
32 <<
"Bulk concentration boundary condition "
33 <<
"at the free-surface patch is not "
41 + fvm::div(
phi(),
C,
"div(phi,C)")
42 - fvm::laplacian(
D,
C,
"laplacian(D,C)")
static const Foam::dimensionedScalar C("", Foam::dimTemperature, 234.5)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar & D
fvScalarMatrix CEqn(fvm::ddt(C)+fvm::div(phi(), C, "div(phi,C)") - fvm::laplacian(D, C, "laplacian(D,C)"))
static const char *const typeName
The type name used in ensight case files.