Skip to contents

tag: medium, a specific medium with optional id corresponding to the MaterialIDs

Usage

prj_medium(phases = NULL, properties = NULL, id = NULL)

Arguments

phases

list, prj_phase: Optional: Medium phases

properties

list, prj_pr_property: Optional: Medium properties

id

string | double: Optional: ID corresponding to the MaterialIDs

Examples

prj_medium(
    phases = list(
        phase = prj_phase(
            type = "Gas",
            properties = list(
                property = prj_ph_property(name = "viscosity",
                                              type = "Constant",
                                              value = 1e-05)
            )
        ),
        phase = prj_phase(
            type = "Solid",
            properties = list(
                property = prj_ph_property(name = "porosity",
                                              type = "Constant",
                                              value = 0.3)
            )
        )
    ),
    properties = list(
        property = prj_pr_property(name = "reference_temperature",
                                      type = "Constant",
                                      value = 293.15)
    )
)
#> $phases
#> $phases$phase
#> $type
#> [1] "Gas"
#> 
#> $properties
#> $properties$property
#> $name
#> [1] "viscosity"
#> 
#> $type
#> [1] "Constant"
#> 
#> $value
#> [1] 1e-05
#> 
#> $dvalue
#> list()
#> 
#> $reference_value
#> NULL
#> 
#> $independent_variable
#> list()
#> 
#> $offset
#> NULL
#> 
#> $exponent
#> NULL
#> 
#> $parameter_name
#> NULL
#> 
#> $swelling_pressures
#> NULL
#> 
#> $exponents
#> NULL
#> 
#> $lower_saturation_limit
#> NULL
#> 
#> $upper_saturation_limit
#> NULL
#> 
#> $tortuosity
#> NULL
#> 
#> $curve
#> NULL
#> 
#> $xpath
#> [1] "media/medium/phases/phase/properties/property"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> [1] "value"              "exponents"          "swelling_pressures"
#> 
#> $unwrap_on_exp
#> [1] "independent_variable" "dvalue"              
#> 
#> attr(,"class")
#> [1] "prj_ph_property"
#> 
#> 
#> $components
#> NULL
#> 
#> $xpath
#> [1] "media/medium/phases/phase"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> character(0)
#> 
#> attr(,"class")
#> [1] "prj_phase"
#> 
#> $phases$phase
#> $type
#> [1] "Solid"
#> 
#> $properties
#> $properties$property
#> $name
#> [1] "porosity"
#> 
#> $type
#> [1] "Constant"
#> 
#> $value
#> [1] 0.3
#> 
#> $dvalue
#> list()
#> 
#> $reference_value
#> NULL
#> 
#> $independent_variable
#> list()
#> 
#> $offset
#> NULL
#> 
#> $exponent
#> NULL
#> 
#> $parameter_name
#> NULL
#> 
#> $swelling_pressures
#> NULL
#> 
#> $exponents
#> NULL
#> 
#> $lower_saturation_limit
#> NULL
#> 
#> $upper_saturation_limit
#> NULL
#> 
#> $tortuosity
#> NULL
#> 
#> $curve
#> NULL
#> 
#> $xpath
#> [1] "media/medium/phases/phase/properties/property"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> [1] "value"              "exponents"          "swelling_pressures"
#> 
#> $unwrap_on_exp
#> [1] "independent_variable" "dvalue"              
#> 
#> attr(,"class")
#> [1] "prj_ph_property"
#> 
#> 
#> $components
#> NULL
#> 
#> $xpath
#> [1] "media/medium/phases/phase"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> character(0)
#> 
#> attr(,"class")
#> [1] "prj_phase"
#> 
#> 
#> $properties
#> $properties$property
#> $name
#> [1] "reference_temperature"
#> 
#> $type
#> [1] "Constant"
#> 
#> $value
#> [1] 293.15
#> 
#> $parameter_name
#> NULL
#> 
#> $exponent
#> NULL
#> 
#> $residual_liquid_saturation
#> NULL
#> 
#> $residual_gas_saturation
#> NULL
#> 
#> $initial_porosity
#> NULL
#> 
#> $minimal_porosity
#> NULL
#> 
#> $maximal_porosity
#> NULL
#> 
#> $p_b
#> NULL
#> 
#> $independent_variable
#> NULL
#> 
#> $curve
#> NULL
#> 
#> $minimum_relative_permeability_liquid
#> NULL
#> 
#> $cutoff_value
#> NULL
#> 
#> $lambda
#> NULL
#> 
#> $min_relative_permeability
#> NULL
#> 
#> $initial_permeability
#> NULL
#> 
#> $maximum_permeability
#> NULL
#> 
#> $intrinsic_permeability
#> NULL
#> 
#> $initial_aperture
#> NULL
#> 
#> $mean_frac_distance
#> NULL
#> 
#> $mean_frac_distances
#> NULL
#> 
#> $threshold_strain
#> NULL
#> 
#> $threshold_strains
#> NULL
#> 
#> $fracture_normal
#> NULL
#> 
#> $fracture_normals
#> NULL
#> 
#> $fracture_rotation_xy
#> NULL
#> 
#> $fracture_rotation_yz
#> NULL
#> 
#> $reference_permeability
#> NULL
#> 
#> $fitting_factor
#> NULL
#> 
#> $cohesion
#> NULL
#> 
#> $friction_angle
#> NULL
#> 
#> $tensile_strength_parameter
#> NULL
#> 
#> $b1
#> NULL
#> 
#> $b2
#> NULL
#> 
#> $b3
#> NULL
#> 
#> $minimum_permeability
#> NULL
#> 
#> $entry_pressure
#> NULL
#> 
#> $intrinsic_permeabilities
#> NULL
#> 
#> $exponents
#> NULL
#> 
#> $jacobian_factor
#> NULL
#> 
#> $dry_thermal_conductivity
#> NULL
#> 
#> $wet_thermal_conductivity
#> NULL
#> 
#> $mean_type
#> NULL
#> 
#> $dvalue
#> list()
#> 
#> $xpath
#> [1] "media/medium/properties/property"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> [1] "value"
#> 
#> $unwrap_on_exp
#> [1] "dvalue"
#> 
#> attr(,"class")
#> [1] "prj_pr_property"
#> 
#> 
#> $id
#> NULL
#> 
#> $xpath
#> [1] "media/medium"
#> 
#> $attr_names
#> [1] "id"
#> 
#> $flatten_on_exp
#> character(0)
#> 
#> attr(,"class")
#> [1] "prj_medium"