Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F87426197
transport_parameters.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Oct 12, 15:14
Size
1 KB
Mime Type
text/x-c++
Expires
Mon, Oct 14, 15:14 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21595617
Attached To
rSPECMICP SpecMiCP / ReactMiCP
transport_parameters.hpp
View Options
#ifndef SPECMICP_REACTMICP_SATURATEDDIFFUSION_TRANSPORTPARAMETERS_HPP
#define SPECMICP_REACTMICP_SATURATEDDIFFUSION_TRANSPORTPARAMETERS_HPP
namespace specmicp {
namespace reactmicp {
namespace systems {
namespace siasaturated {
//! \brief Parameters for the diffusion system
class SaturatedDiffusionTransportParameters
{
public:
SaturatedDiffusionTransportParameters(double diffusion_coefficient, double porosity):
m_diff(diffusion_coefficient), m_poro(porosity)
{}
//! \brief Density of water (kg/m^3)
double density_water() {return 1e3;}
//! \brief Diffusion coefficient (element by element) (m^2/s)
double diffusion_coefficient(int element) {return m_diff;}
//! \brief Porosity (at a node (function of composition))
double porosity(int node) {return m_poro;}
private:
double m_diff;
double m_poro;
};
} // end namespace siasaturated
} // end namespace systems
} // end namespace reactmicp
} // end namespace specmicp
#endif // SPECMICP_REACTMICP_SATURATEDDIFFUSION_TRANSPORTPARAMETERS_HPP
Event Timeline
Log In to Comment