OGS
TESLocalAssemblerData.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "TESAssemblyParams.h"
14
15namespace ProcessLib
16{
17namespace TES
18{
19class TESFEMReactionAdaptor;
20
22{
23 TESLocalAssemblerData(AssemblyParams const& ap_, const unsigned num_int_pts,
24 const unsigned dimension);
25
27
29
30 // integration point quantities
31 std::vector<double> solid_density;
32 std::vector<double> reaction_rate; // dC/dt * rho_SR_dry
33 std::vector<std::vector<double>>
34 velocity; // vector of velocities for each integration point
35
36 // integration point values of unknowns -- temporary storage
37 double p = std::numeric_limits<double>::quiet_NaN(); // gas pressure
38 double T = std::numeric_limits<double>::quiet_NaN(); // temperature
40 std::numeric_limits<double>::quiet_NaN(); // fluid mass fraction of the
41 // second component
42
43 // temporary storage for some properties
44 // values do not change during the assembly of one integration point
45 double rho_GR = std::numeric_limits<double>::quiet_NaN();
46 double p_V =
47 std::numeric_limits<double>::quiet_NaN(); // vapour partial pressure
48 double qR =
49 std::numeric_limits<double>::quiet_NaN(); // reaction rate, use this in
50 // assembly!!!
51
52 std::unique_ptr<TESFEMReactionAdaptor> const reaction_adaptor;
53
54 // variables at previous timestep
55 std::vector<double> solid_density_prev_ts;
56 std::vector<double> reaction_rate_prev_ts; // could also be calculated from
57 // solid_density_prev_ts
58};
59} // namespace TES
60} // namespace ProcessLib
TESLocalAssemblerData(AssemblyParams const &ap_, const unsigned num_int_pts, const unsigned dimension)
std::vector< std::vector< double > > velocity
std::unique_ptr< TESFEMReactionAdaptor > const reaction_adaptor