2#ifndef included_AMP_FlowFrapconJacobian
3#define included_AMP_FlowFrapconJacobian
5#include "AMP/operators/Operator.h"
6#include "AMP/operators/subchannel/FlowFrapconJacobianParameters.h"
10#include "libmesh/fe_base.h"
11#include "libmesh/fe_type.h"
12#include "libmesh/quadrature.h"
36 std::string
type()
const override {
return "FlowFrapconJacobian"; }
50 void reset( std::shared_ptr<const OperatorParameters> params )
override;
98 }
else if ( 544 <=
T_b &&
T_b < 588 ) {
99 cp = 2.4e5 * ( 1.0 + 2.9e-3 * ( 1.8 *
T_b - 1031.0 ) );
101 cp = 2.4e5 * ( 1.0 + 2.9e-3 * ( 1.8 *
T_b - 979.4 ) );
110 dcp = 2.4e5 * ( 2.9e-3 * 1.8 *
T_b );
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.
std::shared_ptr< const Vector > const_shared_ptr
std::shared_ptr< AMP::LinearAlgebra::Variable > d_outVariable
Input Variable.
double d_Re
Coolant conductivity.
FlowFrapconJacobian(std::shared_ptr< const OperatorParameters > params)
std::shared_ptr< AMP::LinearAlgebra::Variable > createOutputVariable(const std::string &name, int varId=-1)
void setOutputVariableName(const std::string &name, int varId=-1)
void reset(std::shared_ptr< const OperatorParameters > params) override
const auto & getZLocations()
std::shared_ptr< AMP::LinearAlgebra::Variable > createInputVariable(const std::string &name, int varId=-1)
std::vector< double > zPoints
AMP::LinearAlgebra::Vector::shared_ptr d_frozenVec
std::string type() const override
Return the name of the operator.
double getHeatCapacity(double T_b)
std::shared_ptr< AMP::LinearAlgebra::VectorSelector > selectInputVector() const override
Return the selector for input vectors.
AMP::LinearAlgebra::Vector::shared_ptr d_localCladVec
void setVector(AMP::LinearAlgebra::Vector::shared_ptr frozenVec)
virtual ~FlowFrapconJacobian()
double getHeatCapacityGradient(double T_b)
double d_Pr
Reynolds Number.
double d_De
vector to hold z locations
AMP::LinearAlgebra::Vector::shared_ptr flowOutput
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
AMP::LinearAlgebra::Vector::shared_ptr d_localFrozenVec
std::shared_ptr< AMP::LinearAlgebra::Variable > d_inpVariable
Prandtl Number.
AMP::LinearAlgebra::Vector::shared_ptr flowInput
Simple Input Variable.
double d_K
Coolant Temp Tin.
void setZLocations(const std::vector< double > &zloc)
std::shared_ptr< AMP::LinearAlgebra::Variable > d_SimpleVariable
Output Variable.
std::vector< unsigned int > d_dofIds
Number of points in z direction.
double dCp
Heat Capacity of Coolant.
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
std::shared_ptr< AMP::LinearAlgebra::VectorSelector > selectOutputVector() const override
Return the selector for output vectors.
void setInputVariableName(const std::string &name, int varId=-1)
AMP::LinearAlgebra::Vector::shared_ptr d_cladVec
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr r) override
double Cp
Channel Diameter.
void setFrozenVector(AMP::LinearAlgebra::Vector::shared_ptr frozenVec)
double d_G
Gradient of Heat Capacity.
double d_Tin
Coolant Mass Flux.
std::shared_ptr< AMP::Operator::Operator > shared_ptr
#define DISABLE_WARNINGS
Re-enable warnings.
#define ENABLE_WARNINGS
Suppress all warnings.