26 #ifndef GRINS_AVERAGED_TURBINE_BASE_H
27 #define GRINS_AVERAGED_TURBINE_BASE_H
30 #include "grins_config.h"
34 #include "libmesh/function_base.h"
35 #include "libmesh/getpot.h"
36 #include "libmesh/tensor_value.h"
44 template<
class Viscosity>
67 const libMesh::Real time,
68 const libMesh::NumberVectorValue& U,
70 libMesh::NumberVectorValue& U_B_1,
71 libMesh::NumberVectorValue& F,
72 libMesh::NumberTensorValue *dFdU = NULL,
73 libMesh::NumberVectorValue *dFds = NULL);
97 libMesh::AutoPtr<libMesh::FunctionBase<libMesh::Number> >
lift_function;
98 libMesh::AutoPtr<libMesh::FunctionBase<libMesh::Number> >
drag_function;
136 libMesh::AutoPtr<libMesh::FunctionBase<libMesh::Number> >
aoa_function;
149 #endif // GRINS_AVERAGED_TURBINE_BASE_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
std::string _fan_speed_var_name
virtual void set_time_evolving_vars(libMesh::FEMSystem *system)
Sets turbine_speed and velocity variables to be time-evolving.
virtual void init_variables(libMesh::FEMSystem *system)
Initialization of variables.
Physics class for Incompressible Navier-Stokes.
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > torque_function
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > drag_function
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > aoa_function
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > area_swept_function
libMesh::Number moment_of_inertia
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > chord_function
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > local_vertical_function
libMesh::Number initial_speed
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > base_velocity_function
VariableIndex _fan_speed_var
bool compute_force(const libMesh::Point &point, const libMesh::Real time, const libMesh::NumberVectorValue &U, libMesh::Number s, libMesh::NumberVectorValue &U_B_1, libMesh::NumberVectorValue &F, libMesh::NumberTensorValue *dFdU=NULL, libMesh::NumberVectorValue *dFds=NULL)
VariableIndex fan_speed_var() const
libMesh::AutoPtr< libMesh::FunctionBase< libMesh::Number > > lift_function
virtual void read_input_options(const GetPot &input)
Read options from GetPot input file.