version 0.6.0
type_phase_geometry Module Reference

Definition of the type t_phase_geometry.

Data Types

type  t_phase_geometry
 This type contains information relative to the interface/phase geometry. More...
 

Functions/Subroutines

subroutine phase_initialize (phase, volume_fraction)
 Initialize a phase. More...
 
subroutine phase_initialize_representation (phase, phase_representation)
 Initialize a phase with a given representation. More...
 
subroutine phase_geometry_finalize (phase)
 Finalization subroutine for the t_phase_geometry type. More...
 

Function/Subroutine Documentation

◆ phase_geometry_finalize()

subroutine type_phase_geometry::phase_geometry_finalize ( type(t_phase_geometry), intent(inout)  phase)
Parameters
[in,out]phasephase geometry

◆ phase_initialize()

subroutine type_phase_geometry::phase_initialize ( class(t_phase_geometry), intent(inout)  phase,
double precision, intent(in)  volume_fraction 
)

Allocate the volume_fraction array and compute associated geometrical fields (normal, curvature) if needed.

Parameters
[in,out]phasephase geometry
[in]volume_fractionthe given initial volume fraction

◆ phase_initialize_representation()

subroutine type_phase_geometry::phase_initialize_representation ( class(t_phase_geometry), intent(inout)  phase,
integer, intent(in)  phase_representation 
)

Allocate the volume_fraction array and the corresponding representation's data.

Parameters
[in,out]phasephase geometry
[in]phase_representationphase representation (VOF, MOF, level-set, etc.)