Skip to content

loadBoundaryConditions

Julian Steinwachs edited this page Jun 27, 2014 · 2 revisions

Description

The program loads the BCOND file. It is structured as follows: For every node of the mesh there is one line in the BCOND file. The first line of the bcond file correponds to the node in the first line of the COORDS file, the second to the second and so on. Every line in the BCOND file has 4 entries. Three floating point values and one boolean ("1" or "0"). The last entry describes the type of boundary condition, that acts on this node. "1" means that the node is fixed. In this case the first 3 values state the displacement of the point to which it is fixed in meters (order is x,y,z). If the 4th entry is "0" than the node is not fixed. In this case the first three entries of that line state the nodal force that should act on this node in Newton (order is x,y,z). The solveBoundary module will then find a configuration of the mesh in which the fixed points have the given displacements and the nodal force of the material has the given values at the rest of the nodes. In particular this means that the external forces needed to balance the nodal forces are equal but negative in sign.

The following example shows a boundary condition of the cubic mesh described in the loadMesh module description. One side (4 nodes with x=0) are fixed while the opposite site is pulled outward with a total force of 1 Newton. Notice that the nodal force in x-direction is negative, so that the resulting external force of the solution has a positive sign.

content of the BCOND file:

 0 0 0 1
 0 0 0 1
 -0.25 0 0 0
 -0.25 0 0 0
 0 0 0 1
 -0.25 0 0 0
 -0.25 0 0 0
 0 0 0 1

Table of Parameters

name type default explanation
DATAIN string empty Directory containing BCOND file. This parameter is shared between the modules loadMesh, loadBoundaryCondition and loadDeformation
BCOND string bcond.dat Name of file containing the boundary conditions acting on the tetrahedral mesh.

Console Output

F.A.Q.