24 #include "Transient.h" 55 const double scalarValue);
57 virtual void syncSolutions(ExternalProblem::Direction direction)
override;
const PostprocessorValue * _toNekRS_temp
Temperature boundary condition coming from external App to NekRS.
Definition: NekRSSeparateDomainProblem.h:114
static InputParameters validParams()
const MultiMooseEnum _coupled_scalars
Scalars coupled to NekRS.
Definition: NekRSSeparateDomainProblem.h:103
bool _outlet_coupling
Whether the NekRS outlet boundary feeds BCs to a coupled MOOSE app.
Definition: NekRSSeparateDomainProblem.h:100
bool _scalar02_coupling
Definition: NekRSSeparateDomainProblem.h:107
const PostprocessorValue * _toNekRS_scalar02
Definition: NekRSSeparateDomainProblem.h:118
const nek_mesh::NekMeshEnum _pp_mesh
Which NekRS mesh to act on (always the fluid mesh)
Definition: NekRSSeparateDomainProblem.h:125
bool _scalar01_coupling
Whether the NekRS scalar01-03 are coupled to MOOSE app.
Definition: NekRSSeparateDomainProblem.h:106
const MultiMooseEnum _coupling_type
Type of coupling to apply to NekRS.
Definition: NekRSSeparateDomainProblem.h:88
virtual void addExternalVariables() override
const PostprocessorValue * _toNekRS_scalar03
Definition: NekRSSeparateDomainProblem.h:119
Definition: CardinalEnums.h:47
const std::vector< int > & _inlet_boundary
Boundary ID for NekRS inlet.
Definition: NekRSSeparateDomainProblem.h:94
const PostprocessorValue * _toNekRS_velocity
Velocity boundary condition coming from external App to NekRS.
Definition: NekRSSeparateDomainProblem.h:111
NekRSSeparateDomainProblem(const InputParameters ¶ms)
const PostprocessorValue * _transfer_in
Postprocessor containing the signal of when a synchronization has occurred.
Definition: NekRSSeparateDomainProblem.h:122
void temperature(const nek_mesh::NekMeshEnum pp_mesh, const int elem_id, const double temperature)
NekMeshEnum
Definition: CardinalEnums.h:45
void scalar(const nek_mesh::NekMeshEnum pp_mesh, const int elem_id, const int scalarId, const double scalarValue)
Solve NekRS coupled to 1d thermal hydraulic code.
Definition: NekRSSeparateDomainProblem.h:35
virtual void initialSetup() override
void sendBoundaryTemperatureToNek(const nek_mesh::NekMeshEnum pp_mesh)
Send boundary temperature to nekRS.
const std::vector< int > & _outlet_boundary
Boundary ID for NekRS outlet.
Definition: NekRSSeparateDomainProblem.h:91
virtual void syncSolutions(ExternalProblem::Direction direction) override
void velocity(const nek_mesh::NekMeshEnum pp_mesh, const int elem_id, const double velocity)
Definition: NekRSProblemBase.h:40
bool _scalar03_coupling
Definition: NekRSSeparateDomainProblem.h:108
~NekRSSeparateDomainProblem()
void sendBoundaryVelocityToNek(const nek_mesh::NekMeshEnum pp_mesh)
Send boundary velocity to nekRS.
void sendBoundaryScalarToNek(const nek_mesh::NekMeshEnum pp_mesh, const int scalarId, const double scalarValue)
Send scalar to NekRS.
const PostprocessorValue * _toNekRS_scalar01
Scalar01-03 boundary condition coming from external App to NekRS.
Definition: NekRSSeparateDomainProblem.h:117
bool _inlet_coupling
Whether the NekRS inlet boundary is fed BCs from a coupled MOOSE app.
Definition: NekRSSeparateDomainProblem.h:97