fedoo.weakform.ExternalPressure
- class ExternalPressure(pressure: float | np.ndarray, name: str = '', nlgeom: bool | None = False, space: ModelingSpace | None = None)
Weak formulation for a pressure over a surface.
This weak formulation permit to define pressure load and should be associated to another weak formulation (e.g. StressEquilibrium).
The easiest way to define a pressure load is to directly build the corresponding assembly with
fd.constraint.Pressure()
.- __init__(pressure: float | np.ndarray, name: str = '', nlgeom: bool | None = False, space: ModelingSpace | None = None)
Methods
Return the list of all weak forms.
ExternalPressure.get_weak_equation
(assembly, pb)Return the weak equation related to the current state.
ExternalPressure.initialize
(assembly, pb)Initialize the weakform for given assembly and pb.
ExternalPressure.nvar
(self)Return the number of variables used in the modeling space associated to the WeakForm.
ExternalPressure.set_start
(assembly, pb)ExternalPressure.sum
(wf1, wf2)ExternalPressure.to_start
(assembly, pb)Reset the weakform to the begining of the time iteration.
ExternalPressure.update
(assembly, pb)Update the weakform for given assembly and pb.
ExternalPressure.update_2
(assembly, pb)Return the name of the WeakForm.
Return the ModelingSpace associated to the WeakForm if defined.
Method used to treat the geometric non linearities. * Set to False if geometric non linarities are ignored (default). * Set to True or 'UL' to use the updated lagrangian method (update the mesh) * Set to 'TL' to use the total lagrangian method (base on the initial mesh with initial displacement effet).