Represent a vector of mass forces that is applied on a Node object. This force is represented by a magnitude and a direction of a field such that \(\textbf{F}(t)= m_n \, \textbf{f}_b(t)\). The Load object created in this manner is assembled directly to the global force vector, thus its direction must coincide with the Node's number of degree of freedom.
REFERENCE:
The python Pre-Analysis in the 01-Pre_Process/Method/Attach.py file provides with an interface to create a DYNAMIC POINT BODY LOAD. For example, to create a Dynamic point-body-load using json format, use:
addLoad(tag, name='PointLoad', attributes):
Example
A DYNAMIC POINT BODY LOAD can be defined using the python interface as follows:
SVL.addLoad(tag=1, name='PointLoad', attributes={'fun': 1, 'type': 'Body', 'list': [1]})
The information required to define the magnitude and direction of the field where the load will act on. This information is provided in the attributes['fun'] identifier. Thus, to create a DYNAMIC FUNCTION using the json format, use:
addFunction(tag, name, attributes):
Example
A DYNAMIC FUNCTION can be defined using the python interface as follows:
SVL.addFunction(tag=1, name='TimeSeries', attributes={'file': 'PointLoad.txt', 'dir': [0.0, 0.0, -1.0, 0.0, 0.0, 0.0])
Application
This load has not been validated yet.
On the contrary, the 01-Pre_Process/Method/Remove.py file provides with an interface to depopulate the Entities
dictionary. For example, to remove an already define Load, use:
Now, to remove a already defined function, use:
The C++ Run-Analysis in the 02-Run_Process/05-Loads/Load.cpp file provides the class implementation. A DYNAMIC POINT BODY LOAD is defined inside the "Loads" json field indicating its "Tag" as follows,
{ "Loads": { "Tag": { "name" : "POINTLOAD", "attributes": { "name": "TIMESERIES", "type": "BODY", "file": str, "dir": [ ], "list": [ ] } } } }
Variable | Description |
---|---|
Tag | Unique load object identifier. |
file | Represents the local address where the file is located. |
dir | Vector containing the direction of the force. |
list | List of Node identifiers that share this load. |
dir
must be consistent with the number of degree-of-freedom of that Node. A 2D DYNAMIC POINT BODY LOAD applied downwards on node 2 whose intensities are located at ../Exterior.txt:
{ "Loads": { "1": { "name" : "POINTLOAD", "attributes": { "name": "TIMESERIES", "type": "BODY", "file": "/full/path/to/folder/Exterior.txt", "dir": [0.000, -1.000], "list": [2] } } } }