boundaryField() -> boundaryFieldRef()
This commit is contained in:
@ -36,18 +36,17 @@ void Foam::BlendedInterfacialModel<ModelType>::correctFixedFluxBCs
|
||||
GeometricField& field
|
||||
) const
|
||||
{
|
||||
forAll(phase1_.phi()().boundaryField(), patchI)
|
||||
forAll(phase1_.phi()().boundaryField(), patchi)
|
||||
{
|
||||
if
|
||||
(
|
||||
isA<fixedValueFvsPatchScalarField>
|
||||
(
|
||||
phase1_.phi()().boundaryField()[patchI]
|
||||
phase1_.phi()().boundaryField()[patchi]
|
||||
)
|
||||
)
|
||||
{
|
||||
field.boundaryField()[patchI]
|
||||
= Zero;
|
||||
field.boundaryField()[patchi] = Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,18 +36,17 @@ void Foam::BlendedInterfacialModel<modelType>::correctFixedFluxBCs
|
||||
GeometricField& field
|
||||
) const
|
||||
{
|
||||
forAll(pair_.phase1().phi().boundaryField(), patchI)
|
||||
forAll(pair_.phase1().phi().boundaryField(), patchi)
|
||||
{
|
||||
if
|
||||
(
|
||||
isA<fixedValueFvsPatchScalarField>
|
||||
(
|
||||
pair_.phase1().phi().boundaryField()[patchI]
|
||||
pair_.phase1().phi().boundaryField()[patchi]
|
||||
)
|
||||
)
|
||||
{
|
||||
field.boundaryField()[patchI]
|
||||
= Zero;
|
||||
field.boundaryField()[patchi] = Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user