Porous Media Model Workflow
Select the Porous Media model and associate it with the porous region. Next, select either the Porous Media Thermal Equilibrium or the Porous Media Thermal Non-Equilibrium model. Optionally, select the Porous Media Drag model to represent pressure losses.
- To position the porous medium within the computational domain, create a separate fluid region that spans the porous medium. Select Type is set to Fluid Region. and make sure that
-
In the physics continuum, activate the following physics models, in order:
Group Box Model Time Any Material For single-phase flow:
Gas or Liquid
For multi-phase flow:- Multiphase
- Eulerian Multiphase Model: Eulerian Multiphase Mixture
- Eulerian Multiphase Mixture Model: N-Phase Mixture
Flow Any Equation of State Any Viscous Regime Any Optional Models - Porous Media See Porous Media model
- To model pressure losses, select Porous Media Drag. See Porous Media Drag model.
- If you want to compute the energy distribution inside a porous medium, select one of the following:
-
If you want to consider thermal effects in the porous medium (required when
using the Electrochemistry model), depending on the thermal situation that you
want to model, do one of the following:
Thermal Situation Steps Solid and fluid inside porous region are not in thermal equilibrium. For the physics continuum, select the following models: Group Box Model Porous Media Energy Porous Media Thermal Non-Equilibrium This model solves one energy transport equation for fluid temperature and another one for solid temperature in the region.
Optional Models Multiphase Interaction Solid and fluid inside porous region are in thermal equilibrium. From the Porous Media Energy group box, select Porous Media Thermal Equilibrium. This model solves a single energy transport equation. See Porous Media Thermal Equilibrium model. - If you want to model electromagnetism in a porous medium without the effects of temperature, select the Electromagnetism model from Optional Models.
- Right-click the node and create a new porous phase.
-
For the porous phase,
, select the following models in order:
Group Box Model Material Solid Equation of State Any Optional Models If the solid phase is electrically conducting, select Electromagnetism.
Electrodynamic Potential (selected automatically)
To model ionic species flux in a solid porous phase, select Electrochemistry and the Solid Ion model.
See Electrochemistry Model Reference and Solid Ion Model Reference.To model the transport of ions within the active material of the battery electrode, select Electrochemistry and Subgrid Particle Intercalation Model see Subgrid Particle Intercalation Model Reference.
To simulate surface reactions, select Surface Chemistry. See Surface Chemistry Model Reference. -
If you are using the Porous Media Thermal Non-Equilibrium model, define a phase
interaction:
- Right-click the [phase interaction] node under Phase Interactions. node and select . This creates a new
-
For the [phase interaction], select the following models:Group Box Model Optional Models To calculate energy transfer between the solid and fluid phases of the porous region, activate: - Porous Phase-Physics Continuum Interaction
- Porous Phase-Physics Continuum Energy Transfer
- Expand the node and define the material properties of the porous medium.
- If you are simulating electromagnetism, specify an initial value for the electric potential in the porous medium under the node.
- If you are simulating ionic species flux in a solid porous phase, specify the electrochemical species under the node.
- To associate the solid porous phase with the region, select [Phase] and set Regions to the porous medium region that you create in Step 1.
-
Expand the
node:
-
Edit the
node and specify boundary conditions.
If you are using the Porous Media Thermal Non-Equilibrium model, specify:
- Phasic Thermal Specification at wall boundaries.
- Thermal Specification at contact interface boundaries.
See Thermal Boundary Conditions for Porous Media Thermal Non-Equilibrium Model.
- Expand the Volume Fraction of the porous phase. node and specify the
- If you are using the Porous Media Thermal Non-Equilibrium model, expand the node and specify the heat transfer coefficient and interaction area density profiles for the solid phase.