OpenPisco.PhysicalSolvers.StructuredFEAMecaSolver module#
- OpenPisco.PhysicalSolvers.StructuredFEAMecaSolver.CreateStructuredFEAMecaSolver(ops)[source]#
- Parameters
ops (dict) – Parameters to setup a StructuredFEAPhysicalProblemMeca.
Notes
ops can be populated via a string of the form:
<StructuredFEA id="1" grid="1" type="static_elastic" eVoid="0.001" narrow="0" internalvariables=... > <Material NOTIMPLEMENTED(eTag="*everyelement|eTag") young="1" poisson="0.3" density="1" /> <Dirichlet zone="2"|etag=""|nTag="" dofs="0 1 2" val="0.0"/> <Force eTag="ET3" dir="0 0 1" val="-1000"/> </StructuredFEA>
- class OpenPisco.PhysicalSolvers.StructuredFEAMecaSolver.StructuredFEAMecaSolver(spaceDim=3)[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
- GetBoundaryConditionsFilters()[source]#
Specify which pair of zones should be connected. If this method is not redefined in derived class, there is no check
- Returns
pair of zones to be checked
- Return type
Tuple[Iterable,Iterable]
- GetNodalSolution()[source]#
Retrieve the PDE solution at mesh nodes
- Parameters
i (int, optional) – solution index, by default 0
- Raises
NotImplementedError – to be redefined in derived class
- IsFrozen()#
- UnFrozen()#