26 #ifndef _FCST_APPLICATION_APP_COMPRESSIBLE_FLOWS_H_
27 #define _FCST_APPLICATION_APP_COMPRESSIBLE_FLOWS_H_
29 #include <deal.II/base/function_parser.h>
39 using namespace dealii;
40 using namespace FuelCell::ApplicationCore;
77 AppCompressibleFlows( boost::shared_ptr<ApplicationData> data = boost::shared_ptr<ApplicationData>() );
87 virtual void declare_parameters(ParameterHandler& param);
92 virtual void initialize(ParameterHandler& param);
99 virtual void initialize_solution(
FEVector& initial_guess,
100 std::shared_ptr< Function<dim> >
function = std::shared_ptr< Function<dim> >());
116 virtual void cell_residual(
FEVector& cell_res,
128 virtual void bdry_residual(
FEVector& bdry_res,
139 virtual void dirichlet_bc(std::map<unsigned int, double>& boundary_values)
const;
149 virtual void data_out(
const std::string& filename,
155 virtual void bdry_responses(std::vector<double>& dst,
170 void make_variable_initial_data(
FEVector& initial_guess);
177 void make_variable_boundary_data(
FEVector& initial_guess);
187 bool applyScaling =
false;
207 void set_gas_species(std::map<unsigned int, std::string> tmp, std::vector< FuelCellShop::Material::PureGas* >& gases);
283 boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer<dim> >
CGDL;
FuelCell::OperatingConditions OC
Operating conditions.
Definition: app_compressible_flows.h:196
Class used to store, read from file and define the operating conditions for a fuel cell...
Definition: operating_conditions.h:118
FuelCellShop::Material::WaterVapor water
Water vapor as a part of fluid.
Definition: app_compressible_flows.h:234
FuelCellShop::Material::DummyGas dummyGas
DummyGas as a part of fluid.
Definition: app_compressible_flows.h:264
FuelCellShop::Equation::CompressibleMultiComponentKGEquationsCoupled< dim > fluid_transport_equations
This object describes the equations that we are going to solve here.
Definition: app_compressible_flows.h:220
FuelCellShop::Material::GasMixture fluid
Fluid used in channel AND/OR porous layer.
Definition: app_compressible_flows.h:273
FuelCellShop::Material::Oxygen oxygen
Oxygen as a part of fluid.
Definition: app_compressible_flows.h:229
std::map< unsigned int, std::string > gasSpeciesMap
map relating species number (key) to species material (value)
Definition: app_compressible_flows.h:201
FuelCellShop::Layer::Channel< dim > CChannel
Channel.
Definition: app_compressible_flows.h:278
This class deals with steady-state compressible and isothermal Kerkhof-Geboers fluid transport equati...
Definition: app_compressible_flows.h:67
std::string app_specification
Application specification.
Definition: app_compressible_flows.h:297
This class describes properties of pure Acetone.
Definition: PureGas.h:1410
FuelCellShop::Material::Hydrogen hydrogen
Hydrogen as a part of fluid.
Definition: app_compressible_flows.h:244
boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer< dim > > CGDL
Cathode GDL.
Definition: app_compressible_flows.h:283
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:544
This class describes properties of pure oxygen.
Definition: PureGas.h:974
Class used to calculate the total mass flux at a boundary.
Definition: response_mass_flux.h:118
This class describes properties of pure Methanol.
Definition: PureGas.h:1467
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops.
Definition: matrix_block.h:102
FuelCellShop::PostProcessing::MassFluxResponse< dim > mass_flux_response
Calculates mass flux.
Definition: app_compressible_flows.h:306
This class describes properties of pure nitrogen.
Definition: PureGas.h:1027
FuelCellShop::Material::Methanol methanol
Methanol as a part of fluid.
Definition: app_compressible_flows.h:259
This class describes properties of pure air.
Definition: PureGas.h:1187
This class describes properties of a dummy gas, with all properties of 1.0 Use this name in the param...
Definition: PureGas.h:912
This class describes properties of gas mixtures.
Definition: GasMixture.h:102
FuelCell::Scaling Scale
Object for performing scaling on equation matrix and residual vector.
Definition: app_compressible_flows.h:182
This class describes a channel and stores pointers to.
Definition: channel.h:51
Class used to store, read from file and define scaling factors to be applied to equations in equation...
Definition: scaling.h:99
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:46
The data type used in function calls of Application.
Definition: fe_vectors.h:59
Application handling matrices and assembling the linear system to solve the sensitivity equations...
Definition: optimization_block_matrix_application.h:49
This class describes properties of pure hydrogen.
Definition: PureGas.h:1081
FuelCellShop::Material::Acetone acetone
Acetone as a part of fluid.
Definition: app_compressible_flows.h:254
This class implements the multi-component mass transport equations proposed by Kerkhof-Geboers for fl...
Definition: compressible_multi_component_KG_equations_coupled.h:223
This class describes properties of pure WaterVapor.
Definition: PureGas.h:1134
FuelCellShop::Material::Air air
Air as a part of fluid.
Definition: app_compressible_flows.h:249
FuelCellShop::Material::Nitrogen nitrogen
Nitrogen as a part of fluid.
Definition: app_compressible_flows.h:239