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