Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82217204
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
Tue, Sep 10, 05:39
Size
1 KB
Mime Type
text/x-c++
Expires
Thu, Sep 12, 05:39 (2 d)
Engine
blob
Format
Raw Data
Handle
20663142
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