mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: code clean-up and dummy git push for mattijs
This commit is contained in:
@ -105,8 +105,6 @@ maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField
|
|||||||
(
|
(
|
||||||
vectorField("value", dict, p.size())
|
vectorField("value", dict, p.size())
|
||||||
);
|
);
|
||||||
refValue() = vectorField("refValue", dict, p.size());
|
|
||||||
valueFraction() = scalarField("valueFraction", dict, p.size());
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -131,7 +129,6 @@ maxwellSlipUFvPatchVectorField::maxwellSlipUFvPatchVectorField
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Update the coefficients associated with the patch field
|
|
||||||
void maxwellSlipUFvPatchVectorField::updateCoeffs()
|
void maxwellSlipUFvPatchVectorField::updateCoeffs()
|
||||||
{
|
{
|
||||||
if (updated())
|
if (updated())
|
||||||
@ -179,7 +176,6 @@ void maxwellSlipUFvPatchVectorField::updateCoeffs()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Write
|
|
||||||
void maxwellSlipUFvPatchVectorField::write(Ostream& os) const
|
void maxwellSlipUFvPatchVectorField::write(Ostream& os) const
|
||||||
{
|
{
|
||||||
fvPatchVectorField::write(os);
|
fvPatchVectorField::write(os);
|
||||||
@ -190,8 +186,10 @@ void maxwellSlipUFvPatchVectorField::write(Ostream& os) const
|
|||||||
<< thermalCreep_ << token::END_STATEMENT << nl;
|
<< thermalCreep_ << token::END_STATEMENT << nl;
|
||||||
os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl;
|
os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl;
|
||||||
|
|
||||||
refValue().writeEntry("refValue", os);
|
os.writeKeyword("refValue")
|
||||||
valueFraction().writeEntry("valueFraction", os);
|
<< refValue() << token::END_STATEMENT << nl;
|
||||||
|
os.writeKeyword("valueFraction")
|
||||||
|
<< valueFraction() << token::END_STATEMENT << nl;
|
||||||
|
|
||||||
writeEntry("value", os);
|
writeEntry("value", os);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,14 +45,13 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class maxwellSlipUFvPatch Declaration
|
Class maxwellSlipUFvPatch Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class maxwellSlipUFvPatchVectorField
|
class maxwellSlipUFvPatchVectorField
|
||||||
:
|
:
|
||||||
public mixedFixedValueSlipFvPatchVectorField
|
public mixedFixedValueSlipFvPatchVectorField
|
||||||
{
|
{
|
||||||
|
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
// Accommodation coefficient
|
// Accommodation coefficient
|
||||||
@ -67,6 +66,7 @@ class maxwellSlipUFvPatchVectorField
|
|||||||
// Include boundary curvature term (default on)
|
// Include boundary curvature term (default on)
|
||||||
Switch curvature_;
|
Switch curvature_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
@ -128,6 +128,7 @@ public:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
|
||||||
//- Update the coefficients associated with the patch field
|
//- Update the coefficients associated with the patch field
|
||||||
|
|||||||
Reference in New Issue
Block a user