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 recommended way to apply a pressure load is to build the corresponding assembly with
fd.constraint.Pressure()and add it to the problem boundary conditions withpb.bc.add(pressure_assembly). The assembly is then converted to an equivalent Neumann boundary condition.- __init__(pressure: float | np.ndarray, name: str = '', nlgeom: bool | None = False, space: ModelingSpace | None = None)
Methods
Return the list of all weak forms.
Return the optional dissipative provider for a time integrator.
Return the optional storage weakform for a time integrator.
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.
Iterate over the leaf weakforms contained in this object.
ExternalPressure.set_damping([damping])Mechanical alias for
set_dissipation.Attach a dissipative contribution.
ExternalPressure.set_inertia(density_or_storage)Mechanical alias for
set_storage.ExternalPressure.set_start(assembly, pb)ExternalPressure.set_storage(storage[, ...])Attach a time-storage weakform to this static weakform.
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.
Number of variables in the modeling space associated to 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).