OpenPisco.PhysicalSolvers.GeneralZSetSolverMeca module#
- OpenPisco.PhysicalSolvers.GeneralZSetSolverMeca.CreateGeneralZSetPhysicalProblemMecaNewAPI(ops)[source]#
Constructor for a GeneralZSetPhysicalProblemMeca
- ops
A dictionary-like object
- GeneralZSetPhysicalProblemMeca
A populated GeneralZSetPhysicalProblemMeca instance
The ops can be generated from a string like this:
a = <XXXXXXXX id="X" type="static_elastic" not available(p="*1|2") > <UseTemplateFile name="" />
0.*<Material eTag=”*everyelement|eTag” young=”1” poisson=”0.3” density=”1” /> 0.*<Dirichlet eTag=”eTag” dofs=”[012]” value=”[float]” /> 0.*<Dirichlet eTag=”eTag” aVoir[nTag=””] u1=”0” /> 0.*<Acceleration eTag=”*everyelement|eTag” g=”3*float” /> 0.*<Centrifugal eTag=”eTag” point=”3*float” axis=”3*float” angularSpeed=”float” /> 0.*<Force [eTag=”ET9”|nTag=””] value=”3*float” /> 0.*<Force [eTag=”ET9”|nTag=””] phi=”4.5” theta=”5.6” mag=”2” >
- not available# <TotalForce eTag=”eTag_Name_3” phi=”4.5” theta=”5.6” mag=”2” >
0.*<Pressure eTag=”2D_eTag” value=”0.0” />
0.*<LoadCase id=”1” >
0.*<Gravity>
0.*<Centrifugal>
0.*<Force>
0.*<Pressure>
</LoadCase>
</XXXXXXXX>
- class OpenPisco.PhysicalSolvers.GeneralZSetSolverMeca.GeneralZSetPhysicalProblemMeca[source]#
Bases:
SolverBase
- GetAuxiliaryField(name, on='Nodes')[source]#
Retrieve an auxiliary field on the computational support specified by the keyword “on”
- Parameters
name (name of the field to be retrieved) – _description_
on (FN, optional) – computational support of the field, by default FN.Nodes
index (Optional[int], optional) – index of the field to be retrieved (if needed), by default None
- Raises
NotImplementedError – To be redefined in derived class if needed
- GetAuxiliaryScalar(name)[source]#
Retrieve an auxiliary scalar quantity
- Parameters
name (str) – name of the scalar to be retrieved
- Raises
NotImplementedError – To be redefined in the derived class