fedoo.constraint.SurfaceForce

class SurfaceForce(mesh: Mesh, force: list | np.typing.ArrayLike[float], initial_force: np.typing.ArrayLike[float] | None = None, nlgeom: bool | None = None, name: str = '')

Surface stress with a fixed orientation.

Same as distributed load but the the mesh is supposed to be a surface mesh. The surface mesh can be extracted from a volume mesh using the from_nodes or from_elements constructors.

__init__(mesh: Mesh, force: list | np.typing.ArrayLike[float], initial_force: np.typing.ArrayLike[float] | None = None, nlgeom: bool | None = None, name: str = '')

Methods

SurfaceForce.assemble_global_mat([compute])

Compute the global matrix and global vector related to the assembly if compute = 'all', compute the global matrix and vector if compute = 'matrix', compute only the matrix if compute = 'vector', compute only the vector if compute = 'none', compute nothing

SurfaceForce.compute_elementary_operators([...])

SurfaceForce.convert_data(data[, ...])

SurfaceForce.copy([new_id])

Return a raw copy of the assembly without keeping current state (internal variable).

SurfaceForce.create(weakform[, mesh, ...])

SurfaceForce.delete_global_mat()

Delete Global Matrix and Global Vector related to the assembly.

SurfaceForce.delete_memory()

Static method of the Assembly class.

SurfaceForce.from_elements(mesh, ...[, ...])

Create a SurfaceForce assembly from an element set.

SurfaceForce.from_nodes(mesh, node_set, force)

Create a SurfaceForce assembly from an node set.

SurfaceForce.get_all()

Return a dict with all the known Assembly (with a name).

SurfaceForce.get_change_of_basis_mat()

SurfaceForce.get_element_results(operator, U)

Return some element results based on the finite element discretization of a differential operator on a mesh being given the dof results and the type of elements.

SurfaceForce.get_global_matrix()

Get the last computed global matrix.

SurfaceForce.get_global_vector()

Get the last computed global vector.

SurfaceForce.get_gp_results(operator, U[, ...])

Return some results at element Gauss points based on the finite element discretization of a differential operator on a mesh being given the dof results and the type of elements.

SurfaceForce.get_grad_disp(U[, Type])

Return the Gradient Tensor of a vector (generally displacement given by Problem.get_DofSolution('all') as a list of list of numpy array The total displacement field U has to be given as a flatten numpy array see get_node_results and get_element_resultss

SurfaceForce.get_int_forces(U[, ...])

Only available for 2 nodes beam element Return the element internal Forces and moments related to a specific assembly considering the DOF solution given in U.

SurfaceForce.get_node_results(operator, U)

Return some node results based on the finite element discretization of a differential operator on a mesh being given the dof results and the type of elements.

SurfaceForce.get_strain(U[, Type, nlgeom])

Not a static method.

SurfaceForce.initialize(pb)

Initialize the associated weak form and assemble the global matrix with the elastic matrix.

SurfaceForce.integrate_field(field[, type_field])

SurfaceForce.reset()

reset the assembly to it's initial state.

SurfaceForce.set_disp(disp)

SurfaceForce.set_start(pb)

Start a new time increment.

SurfaceForce.sum(*listAssembly[, name])

Return a new assembly which is a sum of N assembly.

SurfaceForce.to_start(pb)

Reset the assembly to the begining of the time iteration.

SurfaceForce.update(pb[, compute])

Update the associated weak form and assemble the global matrix :param - pb: a Problem object containing the Dof values

SurfaceForce.n_gauss_points

returns: The total number of integration points (ie Gauss points) associated to the assembly.

SurfaceForce.name

Name of the assembly if defined.

SurfaceForce.space

Modeling space associated to the assembly.

SurfaceForce.state_variables

Alias for the sv dict containing the state variables.

SurfaceForce.sv

Dictionary of state variables associated to the current problem.

SurfaceForce.current

Assembly associated to the mesh of the deformed geometry.

SurfaceForce.associated_assembly_sum

AssemblySum object that contains the assembly.