Skip to content

Commit

Permalink
[reorg] new way to impose dirichlet/neumann/bodyforce
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-afeef-badri committed Mar 2, 2025
1 parent 95d6df9 commit 76970cf
Show file tree
Hide file tree
Showing 9 changed files with 190 additions and 428 deletions.
44 changes: 10 additions & 34 deletions modules/elastodynamics/Fem.axl
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,13 @@
<variable field-name="A" name="A" data-type="real3" item-kind="node" dim="0">
<description>Acceleration V vector for time step t-1</description>
</variable>
<variable field-name="u1_fixed" name="u1Fixed" data-type="bool" item-kind="node" dim="0">
<description>Boolean which is true if u1 is fixed on the node</description>
</variable>
<variable field-name="u2_fixed" name="u2Fixed" data-type="bool" item-kind="node" dim="0">
<description>Boolean which is true if u2 is fixed on the node</description>
</variable>
<variable field-name="node_coord" name="NodeCoord" data-type="real3" item-kind="node" dim="0">
<description>Node coordinates from Arcane variable</description>
</variable>
</variables>
<options>
<simple name="f1" type="real" default="0.0" optional="true">
<description>Body force in x within the material.</description>
</simple>
<simple name="f2" type="real" default="0.0" optional="true">
<description>Body force in y within the material.</description>
<simple name = "f" type = "string[]" default="NULL NULL NULL" optional="true">
<description>Body force vector (space separated list).</description>
</simple>
<simple name="E" type="real" default="0.0">
<description>Youngs Modulus of the material.</description>
Expand Down Expand Up @@ -102,14 +93,9 @@
FaceGroup on which to apply these boundary condition
</description>
</extended>
<simple name = "u1" type = "real" optional="true">
<description>
Value u1 on the boundary condition
</description>
</simple>
<simple name = "u2" type = "real" optional="true">
<simple name = "u" type = "string[]" default="NULL NULL NULL" optional="true">
<description>
Value u1 on the boundary condition
Dirichlet conditions on the surface (space separated list).
</description>
</simple>
</complex>
Expand All @@ -128,14 +114,9 @@
NodeGroup on which to apply these point Dirichlet condition
</description>
</extended>
<simple name = "u1" type = "real" optional="true">
<description>
Value of u1 for point Dirichlet condition
</description>
</simple>
<simple name = "u2" type = "real" optional="true">
<simple name = "u" type = "string[]" default="NULL NULL NULL" optional="true">
<description>
Value of u2 for point Dirichlet condition
Dirichlet conditions on the surface (space separated list).
</description>
</simple>
</complex>
Expand All @@ -154,19 +135,14 @@
FaceGroup on which to apply these boundary condition
</description>
</extended>
<simple name = "t1" type = "real" optional="true">
<description>
Value of traction in X direction
</description>
</simple>
<simple name = "t2" type = "real" optional="true">
<simple name = "traction-input-file" type = "string" optional="true">
<description>
Value of traction in Y direction
File containing traction inputs (three columns: (T,t_x,t_y))
</description>
</simple>
<simple name = "traction-input-file" type = "string" optional="true">
<simple name = "t" type = "string[]" default="NULL NULL NULL" optional="true">
<description>
File containing traction inputs (three columns: (T,t_x,t_y))
Traction vector (space separated list).
</description>
</simple>
</complex>
Expand Down
Loading

0 comments on commit 76970cf

Please sign in to comment.