Skip to content

Commit

Permalink
Add schema files
Browse files Browse the repository at this point in the history
  • Loading branch information
acitrain committed Jan 29, 2025
1 parent ff3f6a6 commit 10e990b
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 13 deletions.
96 changes: 91 additions & 5 deletions src/coreComponents/schema/schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@
<xsd:selector xpath="MultiphasePoromechanics" />
<xsd:field xpath="@name" />
</xsd:unique>
<xsd:unique name="SolversMultiphasePoromechanicsConformingFracturesUniqueName">
<xsd:selector xpath="MultiphasePoromechanicsConformingFractures" />
<xsd:field xpath="@name" />
</xsd:unique>
<xsd:unique name="SolversMultiphasePoromechanicsReservoirUniqueName">
<xsd:selector xpath="MultiphasePoromechanicsReservoir" />
<xsd:field xpath="@name" />
Expand Down Expand Up @@ -513,6 +517,10 @@
<xsd:selector xpath="HydrofractureInitialization" />
<xsd:field xpath="@name" />
</xsd:unique>
<xsd:unique name="TasksMultiphasePoromechanicsConformingFracturesInitializationUniqueName">
<xsd:selector xpath="MultiphasePoromechanicsConformingFracturesInitialization" />
<xsd:field xpath="@name" />
</xsd:unique>
<xsd:unique name="TasksMultiphasePoromechanicsInitializationUniqueName">
<xsd:selector xpath="MultiphasePoromechanicsInitialization" />
<xsd:field xpath="@name" />
Expand Down Expand Up @@ -1817,6 +1825,8 @@ stress - traction is applied to the faces as specified by the inner product of i
<xsd:attribute name="formulation" type="geos_FiniteElementDiscretization_Formulation" default="default" />
<!--order => The order of the finite element basis.-->
<xsd:attribute name="order" type="integer" use="required" />
<!--useHighOrderQuadratureRule => Specifier to indicate whether to use a high order quadrature rule-->
<xsd:attribute name="useHighOrderQuadratureRule" type="integer" default="0" />
<!--useVirtualElements => Specifier to indicate whether to force the use of VEM-->
<xsd:attribute name="useVirtualElements" type="integer" default="0" />
<!--name => A name is required for any non-unique nodes-->
Expand Down Expand Up @@ -2270,6 +2280,7 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<xsd:element name="ImplicitSpringSlider" type="ImplicitSpringSliderType" />
<xsd:element name="LaplaceFEM" type="LaplaceFEMType" />
<xsd:element name="MultiphasePoromechanics" type="MultiphasePoromechanicsType" />
<xsd:element name="MultiphasePoromechanicsConformingFractures" type="MultiphasePoromechanicsConformingFracturesType" />
<xsd:element name="MultiphasePoromechanicsReservoir" type="MultiphasePoromechanicsReservoirType" />
<xsd:element name="OneWayCoupledFractureFlowContactMechanics" type="OneWayCoupledFractureFlowContactMechanicsType" />
<xsd:element name="PhaseFieldDamageFEM" type="PhaseFieldDamageFEMType" />
Expand Down Expand Up @@ -2641,7 +2652,7 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<!--scalingType => Solution scaling type.Valid options:
* Global
* Local-->
<xsd:attribute name="scalingType" type="geos_CompositionalMultiphaseFVM_ScalingType" default="Global" />
<xsd:attribute name="scalingType" type="geos_compositionalMultiphaseUtilities_ScalingType" default="Global" />
<!--solutionChangeScalingFactor => Damping factor for solution change targets-->
<xsd:attribute name="solutionChangeScalingFactor" type="real64" default="0.5" />
<!--targetFlowCFL => Target CFL condition `CFL condition <http://en.wikipedia.org/wiki/Courant-Friedrichs-Lewy_condition>`_ when computing the next timestep.-->
Expand Down Expand Up @@ -2681,7 +2692,7 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<xsd:pattern value=".*[\[\]`$].*|ArithmeticAverage|PhasePresence" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="geos_CompositionalMultiphaseFVM_ScalingType">
<xsd:simpleType name="geos_compositionalMultiphaseUtilities_ScalingType">
<xsd:restriction base="xsd:string">
<xsd:pattern value=".*[\[\]`$].*|Global|Local" />
</xsd:restriction>
Expand Down Expand Up @@ -3475,6 +3486,51 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<!--stabilizationType => StabilizationType. Options are:
None- Add no stabilization to mass equation
Global- Add jump stabilization to all faces
Local- Add jump stabilization on interior of macro elements-->
<xsd:attribute name="stabilizationType" type="geos_stabilization_StabilizationType" default="None" />
<!--targetRegions => Allowable regions that the solver may be applied to. Note that this does not indicate that the solver will be applied to these regions, only that allocation will occur such that the solver may be applied to these regions. The decision about what regions this solver will beapplied to rests in the EventManager.-->
<xsd:attribute name="targetRegions" type="groupNameRef_array" use="required" />
<!--writeLinearSystem => Write matrix, rhs, solution to screen ( = 1) or file ( = 2).-->
<xsd:attribute name="writeLinearSystem" type="integer" default="0" />
<!--name => A name is required for any non-unique nodes-->
<xsd:attribute name="name" type="groupName" use="required" />
</xsd:complexType>
<xsd:complexType name="MultiphasePoromechanicsConformingFracturesType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="LinearSolverParameters" type="LinearSolverParametersType" maxOccurs="1" />
<xsd:element name="NonlinearSolverParameters" type="NonlinearSolverParametersType" maxOccurs="1" />
</xsd:choice>
<!--cflFactor => Factor to apply to the `CFL condition <http://en.wikipedia.org/wiki/Courant-Friedrichs-Lewy_condition>`_ when calculating the maximum allowable time step. Values should be in the interval (0,1] -->
<xsd:attribute name="cflFactor" type="real64" default="0.5" />
<!--flowSolverName => Name of the flow solver used by the coupled solver-->
<xsd:attribute name="flowSolverName" type="groupNameRef" use="required" />
<!--initialDt => Initial time-step value required by the solver to the event manager.-->
<xsd:attribute name="initialDt" type="real64" default="1e+99" />
<!--isThermal => Flag indicating whether the problem is thermal or not. Set isThermal="1" to enable the thermal coupling-->
<xsd:attribute name="isThermal" type="integer" default="0" />
<!--logLevel => Sets the level of information to write in the standard output (the console typically).
Level 0 outputs no specific information for this solver. Higher levels require more outputs.
1
- Line search information
- Solution information (scaling, maximum changes, quality check)
- Convergence information
- Time step information
- Linear solver information
- Nonlinear solver information
- Solver timers information
- Coupling information
2
- The summary of declared fields and coupling-->
<xsd:attribute name="logLevel" type="integer" default="0" />
<!--solidSolverName => Name of the solid solver used by the coupled solver-->
<xsd:attribute name="solidSolverName" type="groupNameRef" use="required" />
<!--stabilizationMultiplier => Constant multiplier of stabilization strength-->
<xsd:attribute name="stabilizationMultiplier" type="real64" default="1" />
<!--stabilizationRegionNames => Regions where stabilization is applied.-->
<xsd:attribute name="stabilizationRegionNames" type="groupNameRef_array" default="{}" />
<!--stabilizationType => StabilizationType. Options are:
None- Add no stabilization to mass equation
Global- Add jump stabilization to all faces
Local- Add jump stabilization on interior of macro elements-->
<xsd:attribute name="stabilizationType" type="geos_stabilization_StabilizationType" default="None" />
<!--targetRegions => Allowable regions that the solver may be applied to. Note that this does not indicate that the solver will be applied to these regions, only that allocation will occur such that the solver may be applied to these regions. The decision about what regions this solver will beapplied to rests in the EventManager.-->
Expand Down Expand Up @@ -4312,6 +4368,10 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<xsd:attribute name="discretization" type="groupNameRef" use="required" />
<!--initialDt => Initial time-step value required by the solver to the event manager.-->
<xsd:attribute name="initialDt" type="real64" default="1e+99" />
<!--iterPenaltyN => Factor for tuning the iterative penalty coefficient for normal traction-->
<xsd:attribute name="iterPenaltyN" type="real64" default="10" />
<!--iterPenaltyT => Factor for tuning the iterative penalty coefficient for tangential traction-->
<xsd:attribute name="iterPenaltyT" type="real64" default="0.1" />
<!--logLevel => Sets the level of information to write in the standard output (the console typically).
Level 0 outputs no specific information for this solver. Higher levels require more outputs.
1
Expand All @@ -4334,19 +4394,31 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<xsd:attribute name="newmarkBeta" type="real64" default="0.25" />
<!--newmarkGamma => Value of :math:`\gamma` in the Newmark Method for Implicit Dynamic time integration option-->
<xsd:attribute name="newmarkGamma" type="real64" default="0.5" />
<!--simultaneous => Flag to update the Lagrange multiplier at each Newton iteration (true), or only after the Newton loop has converged (false)-->
<xsd:attribute name="simultaneous" type="integer" default="1" />
<!--stiffnessDamping => Value of stiffness based damping coefficient. -->
<xsd:attribute name="stiffnessDamping" type="real64" default="0" />
<!--strainTheory => Indicates whether or not to use `Infinitesimal Strain Theory <https://en.wikipedia.org/wiki/Infinitesimal_strain_theory>`_, or `Finite Strain Theory <https://en.wikipedia.org/wiki/Finite_strain_theory>`_. Valid Inputs are:
0 - Infinitesimal Strain
1 - Finite Strain-->
<xsd:attribute name="strainTheory" type="integer" default="0" />
<!--symmetric => Flag to neglect the non-symmetric contribution in the tangential matrix-->
<xsd:attribute name="symmetric" type="integer" default="1" />
<!--targetRegions => Allowable regions that the solver may be applied to. Note that this does not indicate that the solver will be applied to these regions, only that allocation will occur such that the solver may be applied to these regions. The decision about what regions this solver will beapplied to rests in the EventManager.-->
<xsd:attribute name="targetRegions" type="groupNameRef_array" use="required" />
<!--timeIntegrationOption => Time integration method. Options are:
* QuasiStatic
* ImplicitDynamic
* ExplicitDynamic-->
<xsd:attribute name="timeIntegrationOption" type="geos_SolidMechanicsLagrangianFEM_TimeIntegrationOption" default="ExplicitDynamic" />
<!--tolJumpN => Factor to adjust the tolerance for normal jump-->
<xsd:attribute name="tolJumpN" type="real64" default="1e-07" />
<!--tolJumpT => Factor to adjust the tolerance for tangential jump-->
<xsd:attribute name="tolJumpT" type="real64" default="1e-05" />
<!--tolNormalTrac => Factor to adjust the tolerance for normal traction-->
<xsd:attribute name="tolNormalTrac" type="real64" default="0.5" />
<!--tolTauLimit => Tolerance for the sliding check-->
<xsd:attribute name="tolTauLimit" type="real64" default="0.05" />
<!--writeLinearSystem => Write matrix, rhs, solution to screen ( = 1) or file ( = 2).-->
<xsd:attribute name="writeLinearSystem" type="integer" default="0" />
<!--name => A name is required for any non-unique nodes-->
Expand Down Expand Up @@ -4766,6 +4838,7 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<xsd:element name="CompositionalMultiphaseReservoirPoromechanicsInitialization" type="CompositionalMultiphaseReservoirPoromechanicsInitializationType" />
<xsd:element name="CompositionalMultiphaseStatistics" type="CompositionalMultiphaseStatisticsType" />
<xsd:element name="HydrofractureInitialization" type="HydrofractureInitializationType" />
<xsd:element name="MultiphasePoromechanicsConformingFracturesInitialization" type="MultiphasePoromechanicsConformingFracturesInitializationType" />
<xsd:element name="MultiphasePoromechanicsInitialization" type="MultiphasePoromechanicsInitializationType" />
<xsd:element name="PVTDriver" type="PVTDriverType" />
<xsd:element name="PackCollection" type="PackCollectionType" />
Expand Down Expand Up @@ -4829,6 +4902,19 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<xsd:complexType name="HydrofractureInitializationType">
<!--logLevel => Sets the level of information to write in the standard output (the console typically).
Level 0 outputs no specific information for this solver. Higher levels require more outputs.
1
- Initialization information-->
<xsd:attribute name="logLevel" type="integer" default="0" />
<!--poromechanicsSolverName => Name of the poromechanics solver-->
<xsd:attribute name="poromechanicsSolverName" type="groupNameRef" use="required" />
<!--solidMechanicsStatisticsName => Name of the solid mechanics statistics-->
<xsd:attribute name="solidMechanicsStatisticsName" type="groupNameRef" default="" />
<!--name => A name is required for any non-unique nodes-->
<xsd:attribute name="name" type="groupName" use="required" />
</xsd:complexType>
<xsd:complexType name="MultiphasePoromechanicsConformingFracturesInitializationType">
<!--logLevel => Sets the level of information to write in the standard output (the console typically).
Level 0 outputs no specific information for this solver. Higher levels require more outputs.
1
- Initialization information-->
<xsd:attribute name="logLevel" type="integer" default="0" />
Expand Down Expand Up @@ -5040,11 +5126,11 @@ Level 0 outputs no specific information for this solver. Higher levels require m
<!--logLevel => Sets the level of information to write in the standard output (the console typically).
Level 0 outputs no specific information for this solver. Higher levels require more outputs.
1
- Print source flux statistics resulting from all flux in a mesh
- Print aggregated statistics of all source fluxes in a mesh
2
- Print source flux statistics for each flux in a mesh
- Print statistics for each source flux in a mesh
3
- Print source flux statistics for each regions -->
- Print statistics for each source flux in each regions-->
<xsd:attribute name="logLevel" type="integer" default="0" />
<!--writeCSV => Write statistics into a CSV file-->
<xsd:attribute name="writeCSV" type="integer" default="0" />
Expand Down
Loading

0 comments on commit 10e990b

Please sign in to comment.