mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
multiphaseEulerFoam: further updates to the MRF functionality
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
multiphaseEulerFoam.C
|
||||
multiphaseFixedFluxPressure/multiphaseFixedFluxPressureFvPatchScalarField.C
|
||||
|
||||
EXE = $(FOAM_APPBIN)/multiphaseEulerFoam
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
EXE_INC = \
|
||||
-IphaseModel/lnInclude \
|
||||
-ImultiphaseSystem/lnInclude \
|
||||
-ImultiphaseFixedFluxPressure \
|
||||
/*-IkineticTheoryModels/lnInclude*/ \
|
||||
-IinterfacialModels/lnInclude \
|
||||
-I$(LIB_SRC)/transportModels \
|
||||
|
||||
@ -1,2 +1,8 @@
|
||||
MRFZones mrfZones(mesh);
|
||||
|
||||
forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
|
||||
{
|
||||
mrfZones.correctBoundaryVelocity(iter().U());
|
||||
}
|
||||
|
||||
mrfZones.correctBoundaryVelocity(U);
|
||||
|
||||
@ -53,12 +53,12 @@
|
||||
|
||||
phase.U() = rAUs[phasei]*UEqns[phasei].H();
|
||||
|
||||
mrfZones.absoluteFlux(phase.phi());
|
||||
phase.phi() =
|
||||
(
|
||||
(fvc::interpolate(phase.U()) & mesh.Sf())
|
||||
+ fvc::ddtPhiCorr(rAUs[phasei], alpha, phase.U(), phase.phi())
|
||||
);
|
||||
|
||||
mrfZones.relativeFlux(phase.phi());
|
||||
phase.phi() += rAlphaAUfs[phasei]*(g & mesh.Sf());
|
||||
|
||||
@ -241,7 +241,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
phase.U() = fvc::reconstruct(phase.phi());
|
||||
phase.U().correctBoundaryConditions();
|
||||
|
||||
U += alpha*phase.U();
|
||||
|
||||
Reference in New Issue
Block a user