Skip to content

Commit

Permalink
update values and config template
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarruscag committed Dec 25, 2024
1 parent bee055e commit 28fb23d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 28 deletions.
3 changes: 1 addition & 2 deletions TestCases/parallel_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,8 +1233,7 @@ def main():
# For a thin disk with the inner and outer radius of this geometry, from
# "Formulas for Stress, Strain, and Structural Matrices", 2nd Edition, figure 19-4,
# the maximum stress is 165.6MPa, we get a Von Misses stress very close to that.
rotating_cylinder_fea.test_vals = [-1.986097, -1.023250, -1.022700, 47, -8.101266, 1.6458e+08]
rotating_cylinder_fea.command = TestCase.Command(exec = "parallel_computation_fsi.py", param = "-f")
rotating_cylinder_fea.test_vals = [-6.005467, -5.615543, -5.615527, 38, -8.126591, 1.6457e8]
test_list.append(rotating_cylinder_fea)

# Dynamic beam, 2d
Expand Down
49 changes: 23 additions & 26 deletions config_template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1742,12 +1742,17 @@ KNOWLES_N= 1.0
% ID of the region we want to compute the sensitivities using direct differentiation
FEA_ID_DIRECTDIFF= 0
%
%
RESTART_STEADY_STATE= NO
%
% Time discretization
TIME_DISCRE_FEA= NEWMARK_IMPLICIT
%
% Iterative method for non-linear structural analysis
NONLINEAR_FEM_SOLUTION_METHOD= NEWTON_RAPHSON
%
% Pseudo static analysis (no density in dynamic analysis)
PSEUDO_STATIC= NO
%
% Parameter alpha for Newmark scheme (s)
NEWMARK_BETA= 0.25
%
Expand Down Expand Up @@ -1781,6 +1786,9 @@ MATERIAL_MODEL= LINEAR_ELASTIC
% Compressibility of the material
MATERIAL_COMPRESSIBILITY= COMPRESSIBLE
%
% Formulation for 2-dimensional elasticity solver
FORMULATION_ELASTICITY_2D= PLANE_STRAIN
%
% -------------------- Dielectric effects ------------------%
%
% Include DE effects
Expand All @@ -1794,6 +1802,20 @@ ELECTRIC_FIELD_MOD= 20e5
%
% Direction of the Electic Fields
ELECTRIC_FIELD_DIR= (0.0, 1.0)
%
% ------------------------ Prestretch -----------------------%
%
% Consider a prestretch in the structural domain
PRESTRETCH= NO
%
% Filename to input for prestretching membranes
PRESTRETCH_FILENAME= prestretch_file.dat
%
% ----------------------- Body Forces -----------------------%
%
% Centrifugal forces due to ROTATION_RATE around MOTION_ORIGIN.
% GRAVITY_FORCE and BODY_FORCE can also be used with the FEA solver.
CENTRIFUGAL_FORCE= NO
% -------------------- Weakly Coupled Heat ------------------%
%
Expand Down Expand Up @@ -2010,31 +2032,6 @@ STRESS_PENALTY_PARAM= (1.0, 10.0)
% Preaccumulation in the AD mode.
PREACC= YES
% ---------------- PRESTRETCH FOR STRUCTURES -------------------%
% Consider a prestretch in the structural domain
PRESTRETCH= NO
%
% Filename to input for prestretching membranes
PRESTRETCH_FILENAME= prestretch_file.dat
%
% Iterative method for non-linear structural analysis
NONLINEAR_FEM_SOLUTION_METHOD= NEWTON_RAPHSON
%
% Formulation for bidimensional elasticity solver
FORMULATION_ELASTICITY_2D= PLANE_STRAIN
%
% Pseudo static analysis (no density in dynamic analysis)
PSEUDO_STATIC= NO
%
% Dynamic or static structural analysis (deprecated -> use TIME_DOMAIN)
DYNAMIC_ANALYSIS= NO
%
% Time Step for dynamic analysis (s) (deprecated -> use TIME_STEP)
DYN_TIMESTEP= 0.0
%
% Total Physical Time for dual time stepping simulations (s) (deprecated -> use MAX_TIME)
DYN_TIME= 1.0
% ---------------- MESH DEFORMATION PARAMETERS (NEW SOLVER) -------------------%
%
% Use the reformatted pseudo-elastic solver for grid deformation
Expand Down

0 comments on commit 28fb23d

Please sign in to comment.