2#ifndef included_AMP_FlowFrapconOperator
3#define included_AMP_FlowFrapconOperator
5#include "AMP/operators/Operator.h"
28 std::string
type()
const override {
return "FlowFrapconOperator"; }
42 void reset( std::shared_ptr<const OperatorParameters> params )
override;
96 }
else if ( 544 <=
T_b &&
T_b < 588 ) {
98 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 ) );
128 std::shared_ptr<OperatorParameters>
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::VectorSelector > selectInputVector() const override
Return the selector for input vectors.
virtual ~FlowFrapconOperator()
double d_K
Coolant Temp Tin.
const auto & getZLocations()
This member function returns the 1D locations stl vector.
std::vector< double > zPoints
std::shared_ptr< AMP::LinearAlgebra::Variable > d_inpVariable
Prandtl Number.
std::vector< unsigned int > d_dofIds
Number of points in z direction */.
AMP::LinearAlgebra::Vector::shared_ptr getVector()
double d_G
Heat Capacity of Coolant.
void setZLocations(const std::vector< double > &zloc)
std::shared_ptr< AMP::LinearAlgebra::Variable > d_outVariable
std::shared_ptr< AMP::LinearAlgebra::VectorSelector > selectOutputVector() const override
Return the selector for output vectors.
double getHeatCapacity(double T_b)
std::string type() const override
Return the name of the operator.
std::shared_ptr< AMP::LinearAlgebra::Variable > getInputVariable() const override
Return the input variable.
std::shared_ptr< AMP::LinearAlgebra::Variable > createOutputVariable(const std::string &name, int varId=-1)
FlowFrapconOperator(std::shared_ptr< const OperatorParameters > params)
void reset(std::shared_ptr< const OperatorParameters > params) override
double Cp
Channel Diameter.
void setVector(AMP::LinearAlgebra::Vector::shared_ptr frozenVec)
AMP::LinearAlgebra::Vector::shared_ptr d_cladVec
vector to hold z locations */
double d_Tin
Coolant Mass Flux.
std::shared_ptr< AMP::LinearAlgebra::Variable > createInputVariable(const std::string &name, int varId=-1)
void apply(AMP::LinearAlgebra::Vector::const_shared_ptr u, AMP::LinearAlgebra::Vector::shared_ptr f) override
std::shared_ptr< OperatorParameters > getJacobianParameters(AMP::LinearAlgebra::Vector::const_shared_ptr u) override
double d_Re
Coolant conductivity.
std::shared_ptr< AMP::LinearAlgebra::Variable > getOutputVariable() const override
Return the output variable.
double d_Pr
Reynolds Number.
std::shared_ptr< AMP::Operator::Operator > shared_ptr