91 virtual void syncSolutions(ExternalProblem::Direction direction)
override;
123 const double nek_integral,
124 double & normalized_nek_integral);
196 const PostprocessorValue *
_min_T =
nullptr;
199 const PostprocessorValue *
_max_T =
nullptr;
202 double *
_T =
nullptr;
const PostprocessorValue * _min_T
Postprocessor to limit the minimum temperature.
Definition: NekRSProblem.h:196
const PostprocessorValue * _flux_integral
Total surface-integrated flux coming from the coupled MOOSE app.
Definition: NekRSProblem.h:171
double * _displacement_z
displacement in z for all nodes from MOOSE, for moving mesh problems
Definition: NekRSProblem.h:220
unsigned int _heat_source_var
volumetric heat source variable read from by nekRS
Definition: NekRSProblem.h:241
void checkInitialFluxValues(const Real &nek_flux, const Real &moose_flux) const
double * _flux_elem
MOOSE flux interpolated onto the (volume) data transfer mesh.
Definition: NekRSProblem.h:208
unsigned int _disp_y_var
y-displacment transfer variable read for moving mesh problems
Definition: NekRSProblem.h:235
NekWriteEnum
Enumeration of possible fields to write in nekRS.
Definition: CardinalEnums.h:105
double * _T
nekRS temperature interpolated onto the data transfer mesh
Definition: NekRSProblem.h:202
const Real & _abs_tol
Absolute tolerance for checking flux/heat source normalizations.
Definition: NekRSProblem.h:157
void getVolumeTemperatureFromNek()
Get volume temperature from nekRS.
const VectorPostprocessorValue * _flux_integral_vpp
Sideset-wise surface-integrated flux coming from the coupled MOOSE app.
Definition: NekRSProblem.h:182
double * _source_elem
MOOSE heat source interpolated onto the data transfer mesh.
Definition: NekRSProblem.h:211
void sendVolumeDeformationToNek()
Send volume mesh deformation flux to nekRS.
double * _flux_face
MOOSE flux interpolated onto the (boundary) data transfer mesh.
Definition: NekRSProblem.h:205
virtual void initialSetup() override
Perform some sanity checks on the problem setup.
unsigned int _temp_var
temperature transfer variable written to be nekRS
Definition: NekRSProblem.h:226
const bool & _conserve_flux_by_sideset
Definition: NekRSProblem.h:154
bool normalizeHeatSource(const double moose_integral, const double nek_integral, double &normalized_nek_integral)
const PostprocessorValue * _source_integral
Total volume-integrated heat source coming from the coupled MOOSE app.
Definition: NekRSProblem.h:193
Definition: CardinalEnums.h:86
virtual double minInterpolatedTemperature() const
const Real & _rel_tol
Relative tolerance for checking flux/heat source normalizations.
Definition: NekRSProblem.h:160
unsigned int _disp_z_var
z-displacment transfer variable read for moving mesh problems
Definition: NekRSProblem.h:238
void getBoundaryTemperatureFromNek()
Get boundary temperature from nekRS.
unsigned int _avg_flux_var
flux transfer variable read from by nekRS
Definition: NekRSProblem.h:229
double * _displacement_y
displacement in y for all nodes from MOOSE, for moving mesh problems
Definition: NekRSProblem.h:217
const PostprocessorValue * _max_T
Postprocessor to limit the maximum temperature.
Definition: NekRSProblem.h:199
~NekRSProblem()
Write nekRS's solution at the last output step.
virtual double maxInterpolatedTemperature() const
Solve nekRS wrapped as a MOOSE app.
Definition: NekRSProblem.h:40
Definition: NekRSProblemBase.h:40
void calculateMeshVelocity(int e, const field::NekWriteEnum &field)
void sendBoundaryHeatFluxToNek()
Send boundary heat flux to nekRS.
unsigned int _disp_x_var
x-displacment transfer variable read for moving mesh problems
Definition: NekRSProblem.h:232
static InputParameters validParams()
virtual void addTemperatureVariable() override
Definition: NekRSProblem.h:134
void sendBoundaryDeformationToNek()
Send boundary deformation to nekRS.
virtual const bool hasMovingNekMesh() const override
Definition: NekRSProblem.h:111
virtual void adjustNekSolution() override
virtual void addExternalVariables() override
NekRSProblem(const InputParameters ¶ms)
void sendVolumeHeatSourceToNek()
Send volume heat source to nekRS.
const bool & _has_heat_source
Whether a heat source will be applied to NekRS from MOOSE.
Definition: NekRSProblem.h:145
virtual void syncSolutions(ExternalProblem::Direction direction) override
double * _displacement_x
displacement in x for all nodes from MOOSE, for moving mesh problems
Definition: NekRSProblem.h:214
double * _mesh_velocity_elem
mesh velocity for a given element, used internally for calculating mesh velocity over one element
Definition: NekRSProblem.h:223