Skip to contents

tag: phase, a coherent material with homogeneous properties

Usage

prj_phase(type, properties = NULL, components = NULL)

Arguments

type

string: Phase type (get valid types with get_valid_phase_types())

properties

list, prj_pr_property: Properties

components

list, components

Examples

prj_phase(
    type = "Solid",
    properties = list(
        property = prj_ph_property(name = "porosity",
                                      type = "Constant",
                                      value = 0.3)
    )
)
#> $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"