**impose_nodal_dof_file
#
Description#
This boundary condition allows to define the nodal degrees of freedom (DOF) using values from an ascii file.
Syntax#
**impose_nodal_dof_file
[ *dtime
]
\(~\,~\,\) time file
file_name [ scale ]
where
- dtime
define increments of time instead of default total time.
- time
time at which is precised the values of the DOFs of each node.
- file_name
name of the file in which is precised the values of the DOF of each node.
- scale
a factor multiplied by the values of the DOFs of the file_name.
Note
Values at zero time are assumed to be null
Example#
This example can be found in $Z7PATH/TESTS/Static_test/INP/cube_file_bc1.inp
.
***bc
**fix_all_dof
x=0
x=1/2
x=1
**impose_nodal_dof_file
% vals at zero time are assumed to be null
5.0 file cube_file_bc1.disp1 0.5
20.0 file cube_file_bc1.disp2 1.0
The ascii files in which are defined the values of DOF of each node :
=====================
cube_file_bc1.disp1
=====================
% x=1/2
5 U1 0.005
7 U1 0.005
13 U1 0.005
15 U1 0.005
% x=1
2 U1 0.01
3 U1 0.01
6 U1 0.01
10 U1 0.01
11 U1 0.01
14 U1 0.01
18 U1 0.01
19 U1 0.01
=====================
cube_file_bc1.disp2
=====================
% x=1/2
5 U1 0.01
7 U1 0.01
13 U1 0.01
15 U1 0.01
% x=1
2 U1 0.02
3 U1 0.02
6 U1 0.02
10 U1 0.02
11 U1 0.02
14 U1 0.02
18 U1 0.02
19 U1 0.02