Skip to content

Commit

Permalink
fixup! Add a Physics for linear finite volume for two phase flow
Browse files Browse the repository at this point in the history
  • Loading branch information
GiudGiud committed Dec 24, 2024
1 parent 9f3c1dc commit e246047
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ registerMooseAction("NavierStokesApp", WCNSLinearFVTwoPhaseMixturePhysics, "add_
InputParameters
WCNSLinearFVTwoPhaseMixturePhysics::validParams()
{
InputParameters params = WCNSFVTwoPhaseMixturePhysics::validParams();
// The parameters are mostly the same being the linear and nonlinear version
InputParameters params = WCNSLinearFVScalarTransportPhysics::validParams();
WCNSFVTwoPhaseMixturePhysics::renamePassiveScalarToMixtureParams(params);
// The flow physics is obtained from the scalar transport base class
// The fluid heat transfer physics is retrieved even if unspecified
params.addParam<PhysicsName>(
"fluid_heat_transfer_physics",
"NavierStokesFV",
"WCNSLinearFVFluidHeatTransferPhysics generating the fluid energy equation");
params += WCNSFVTwoPhaseMixturePhysics::commonMixtureParams();
params.addParamNamesToGroup("fluid_heat_transfer_physics", "Phase change");
params.addClassDescription("Define the additional terms for a mixture model for the two phase "
"weakly-compressible Navier Stokes equations using the linearized "
"segregated finite volume discretization");
Expand Down

0 comments on commit e246047

Please sign in to comment.