solveBulkSurfactant.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (C.boundaryField()[fsPatchIndex()].type()==fixedGradientFvPatchScalarField::typeName)
 
fvScalarMatrix CEqn (fvm::ddt(C)+fvm::div(phi(), C, "div(phi,C)") - fvm::laplacian(D, C, "laplacian(D,C)"))
 
CEqn solve ()
 

Variables

const dimensionedScalar & D = surfactant().bulkDiffusion()
 
scalar ka = surfactant().adsorptionCoeff().value()
 
scalar kb = surfactant().desorptionCoeff().value()
 
scalar CsInf = surfactant().saturatedConc().value()
 
const scalarField & Cs
 
 else
 

Function Documentation

◆ if()

if ( C.  boundaryField().type()[fsPatchIndex()] = = fixedGradientFvPatchScalarField::typeName)

Definition at line 16 of file solveBulkSurfactant.H.

References C, Cs, CsInf, D, ka, and kb.

◆ CEqn()

fvScalarMatrix CEqn ( fvm::ddt(C)+fvm::div(phi(), C, "div(phi,C)") - fvm::laplacian(D, C, "laplacian(D,C)")  )

◆ solve()

Variable Documentation

◆ D

const dimensionedScalar& D = surfactant().bulkDiffusion()

Definition at line 4 of file solveBulkSurfactant.H.

Referenced by faMatrix< Type >::A(), fvMatrix< Type >::A(), PrintTable< KeyType, DataType >::add(), InterfaceCompositionModel< Thermo, OtherThermo >::addMDotL(), viscousDissipation::addSup(), Barycentric< scalar >::Barycentric(), COxidationMurphyShaddix< CloudType >::calculate(), dynamicKEqn< BasicTurbulenceModel >::Ce(), chemPointISAT< CompType, ThermoType >::chemPointISAT(), dynamicKEqn< BasicTurbulenceModel >::Ck(), motionDirectionalDiffusivity::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), dynamicKEqn< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), kineticTheoryModel::correct(), directionalPressureGradientExplicitSource::correct(), dynamicKEqn< BasicTurbulenceModel >::correctNut(), cubicEqn::cubicEqn(), Barycentric< scalar >::d(), cubicEqn::d(), InterfaceCompositionModel< Thermo, OtherThermo >::D(), iC3H8O::D(), nC3H8O::D(), BlendedInterfacialModel< wallLubricationModel >::D(), scalarTransport::execute(), turbulentDispersionModel::F(), turbulentDispersionModel::Ff(), if(), Foam::interpolate(), Foam::Math::invIncGamma(), Smagorinsky< BasicTurbulenceModel >::k(), interfaceHeatResistance< Thermo, OtherThermo >::Kexp(), Schaeffer::nu(), JohnsonJacksonSchaeffer::nu(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFs(), cutFaceAdvect::quadAreaCoeffs(), faMatrix< Type >::relax(), fvMatrix< Type >::relax(), Foam::fvc::spreadSource(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), Foam::Xinterpolate(), and PengRobinsonGas< Specie >::Z().

◆ ka

scalar ka = surfactant().adsorptionCoeff().value()

Definition at line 6 of file solveBulkSurfactant.H.

Referenced by if().

◆ kb

scalar kb = surfactant().desorptionCoeff().value()

◆ CsInf

scalar CsInf = surfactant().saturatedConc().value()

Definition at line 8 of file solveBulkSurfactant.H.

Referenced by if().

◆ Cs

◆ else

else
Initial value:
{
<< "Bulk concentration boundary condition "
<< "at the free-surface patch is not "
<< fixedGradientFvPatchScalarField::typeName

Definition at line 30 of file solveBulkSurfactant.H.

Referenced by fileStat::dmodTime().

Foam::FatalError
error FatalError
Foam::exit
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:130
FatalErrorInFunction
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition: error.H:453