mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected formatting
This commit is contained in:
@ -113,13 +113,15 @@ void Foam::SRFFreestreamVelocityFvPatchVectorField::updateCoeffs()
|
||||
scalar theta = time*mag(srf.omega().value());
|
||||
|
||||
refValue() =
|
||||
cos(theta)*UInf_ + sin(theta)*(srf.axis() ^ UInf_)
|
||||
//cos(theta)*UInf_ + sin(theta)*(srf.axis() ^ UInf_)
|
||||
UInf_
|
||||
- srf.velocity(patch().Cf());
|
||||
|
||||
// Set the inlet-outlet choice based on the direction of the freestream
|
||||
valueFraction() = 1.0 - pos(refValue() & patch().Sf());
|
||||
//valueFraction() = 1.0 - pos(refValue() & patch().Sf());
|
||||
|
||||
mixedFvPatchField<vector>::updateCoeffs();
|
||||
//mixedFvPatchField<vector>::updateCoeffs();
|
||||
inletOutletFvPatchVectorField::updateCoeffs();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,8 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressureFvPatchScalarField
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::
|
||||
multiphaseFixedFluxPressureFvPatchScalarField
|
||||
(
|
||||
const fvPatch& p,
|
||||
const DimensionedField<scalar, volMesh>& iF
|
||||
@ -44,7 +45,8 @@ Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressure
|
||||
{}
|
||||
|
||||
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressureFvPatchScalarField
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::
|
||||
multiphaseFixedFluxPressureFvPatchScalarField
|
||||
(
|
||||
const multiphaseFixedFluxPressureFvPatchScalarField& ptf,
|
||||
const fvPatch& p,
|
||||
@ -59,7 +61,8 @@ Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressure
|
||||
{}
|
||||
|
||||
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressureFvPatchScalarField
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::
|
||||
multiphaseFixedFluxPressureFvPatchScalarField
|
||||
(
|
||||
const fvPatch& p,
|
||||
const DimensionedField<scalar, volMesh>& iF,
|
||||
@ -85,7 +88,8 @@ Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressure
|
||||
}
|
||||
|
||||
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressureFvPatchScalarField
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::
|
||||
multiphaseFixedFluxPressureFvPatchScalarField
|
||||
(
|
||||
const multiphaseFixedFluxPressureFvPatchScalarField& wbppsf
|
||||
)
|
||||
@ -97,7 +101,8 @@ Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressure
|
||||
{}
|
||||
|
||||
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::multiphaseFixedFluxPressureFvPatchScalarField
|
||||
Foam::multiphaseFixedFluxPressureFvPatchScalarField::
|
||||
multiphaseFixedFluxPressureFvPatchScalarField
|
||||
(
|
||||
const multiphaseFixedFluxPressureFvPatchScalarField& wbppsf,
|
||||
const DimensionedField<scalar, volMesh>& iF
|
||||
@ -145,7 +150,10 @@ void Foam::multiphaseFixedFluxPressureFvPatchScalarField::updateCoeffs()
|
||||
}
|
||||
|
||||
|
||||
void Foam::multiphaseFixedFluxPressureFvPatchScalarField::write(Ostream& os) const
|
||||
void Foam::multiphaseFixedFluxPressureFvPatchScalarField::write
|
||||
(
|
||||
Ostream& os
|
||||
) const
|
||||
{
|
||||
fvPatchScalarField::write(os);
|
||||
writeEntryIfDifferent<word>(os, "U", "U", UName_);
|
||||
|
||||
@ -88,8 +88,8 @@ public:
|
||||
const dictionary&
|
||||
);
|
||||
|
||||
//- Construct by mapping given multiphaseFixedFluxPressureFvPatchScalarField onto
|
||||
// a new patch
|
||||
//- Construct by mapping given
|
||||
// multiphaseFixedFluxPressureFvPatchScalarField onto a new patch
|
||||
multiphaseFixedFluxPressureFvPatchScalarField
|
||||
(
|
||||
const multiphaseFixedFluxPressureFvPatchScalarField&,
|
||||
|
||||
Reference in New Issue
Block a user