Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
9cec182
Attempting to solve #13350
RiccardoRossi May 15, 2025
cb9175b
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Jun 25, 2025
ba48231
Update rve_analysis.py
RiccardoRossi Jul 21, 2025
3297295
Update structural_mechanics_prebuckling_analysis.py
RiccardoRossi Jul 21, 2025
0a347c3
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Sep 4, 2025
5f9bb0c
adding shell elastic CL
AlejandroCornejo Oct 2, 2025
a900c8d
Adding references
AlejandroCornejo Oct 2, 2025
31eb5ec
clean CL
AlejandroCornejo Oct 2, 2025
eab177b
shell CL elastic ok
AlejandroCornejo Oct 2, 2025
fc6bcea
ok
AlejandroCornejo Oct 2, 2025
2da87f0
final version of elastic CL
AlejandroCornejo Oct 2, 2025
d417f3a
Add time_scheme setting to solver settings in test_serializer.json
loumalouomega Oct 2, 2025
783b4d5
adding some more error msgs
AlejandroCornejo Oct 3, 2025
4bf58bc
adding base 3N shell element
AlejandroCornejo Oct 3, 2025
ca17632
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Oct 3, 2025
32c68f3
f
AlejandroCornejo Oct 3, 2025
d7c5e5f
building B
AlejandroCornejo Oct 3, 2025
9a8c633
B ok
AlejandroCornejo Oct 3, 2025
a033c27
B averaged
AlejandroCornejo Oct 3, 2025
4be1bda
adding clone
AlejandroCornejo Oct 3, 2025
b99b55f
add init material
AlejandroCornejo Oct 3, 2025
1fdd0d4
minor
AlejandroCornejo Oct 3, 2025
4088abd
add dofs
AlejandroCornejo Oct 3, 2025
c1ad6e7
minor
AlejandroCornejo Oct 3, 2025
afbfbdb
[FluidDynamicsApplication] Refactor `FluidAnalysisWithoutSolution` to…
loumalouomega Oct 3, 2025
f8cacf6
on it
AlejandroCornejo Oct 3, 2025
38dbfff
compiles
AlejandroCornejo Oct 3, 2025
5ac29f8
adding to Init
AlejandroCornejo Oct 3, 2025
1eada2a
[ContactStructuralMechanicsApplication] Improve handling of DOF initi…
loumalouomega Oct 3, 2025
d1f5183
Remove unused include directive from contact strategy headers
loumalouomega Oct 3, 2025
9bd019a
[GeoMechanicsApplication] Reordered some calls to `Predict` (#13856)
avdg81 Oct 3, 2025
60266f5
[CoSimulationApplication] Add `Predict` call in `InitializeSolutionSt…
loumalouomega Oct 3, 2025
c6af88e
Fix GMRES tolerance parameter in BLOCKIBQNLSConvergenceAccelerator
loumalouomega Oct 6, 2025
e667f56
Add relative error tolerance to FSI tests and clean up code formatting
loumalouomega Oct 6, 2025
9014815
Update results
loumalouomega Oct 6, 2025
456d784
correct comment
AlejandroCornejo Oct 6, 2025
e9ac8d3
Merge pull request #13859 from KratosMultiphysics/contact/fix-13432
loumalouomega Oct 7, 2025
d30a167
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Oct 7, 2025
d3500e3
more code
AlejandroCornejo Oct 7, 2025
5f19bd6
Merge pull request #13857 from KratosMultiphysics/fluid/fix-stadistic…
loumalouomega Oct 7, 2025
14aa267
updates
AlejandroCornejo Oct 7, 2025
7e72e15
B
AlejandroCornejo Oct 7, 2025
86e1cc5
more
AlejandroCornejo Oct 7, 2025
2387707
.
AlejandroCornejo Oct 8, 2025
69dfef5
calculate T 3x3
AlejandroCornejo Oct 8, 2025
a2ea335
rotate LHS
AlejandroCornejo Oct 8, 2025
50be93d
rotate RHS
AlejandroCornejo Oct 8, 2025
00c8881
adding nodal values vector
AlejandroCornejo Oct 8, 2025
c1cfead
more methods
AlejandroCornejo Oct 8, 2025
e392b3a
Merge pull request #13860 from KratosMultiphysics/cosim/fix-predict-o…
loumalouomega Oct 8, 2025
1ed7267
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Oct 8, 2025
012d607
adding custom quadrature
AlejandroCornejo Oct 9, 2025
e5b9b50
calculateSystem
AlejandroCornejo Oct 9, 2025
62ae39e
Remove commented-out prediction step from AuxiliarySolve function
loumalouomega Oct 9, 2025
995447b
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Oct 9, 2025
3157a8c
Update test result JSON files for contact beam analysis with new disp…
loumalouomega Oct 9, 2025
c65d9c9
Update displacement values in contact beam test parameters and results
loumalouomega Oct 9, 2025
381d4ee
Fix typo in comments regarding axisymmetric test requirements
loumalouomega Oct 9, 2025
35aa810
Merge pull request #13871 from KratosMultiphysics/contact/update-resu…
loumalouomega Oct 9, 2025
110e0b4
rot
AlejandroCornejo Oct 9, 2025
ae3504a
[ShallowWaterApplication] Update solution `TestMeshMovingStrategy`
loumalouomega Oct 9, 2025
28c72d9
d
AlejandroCornejo Oct 9, 2025
95a83d9
Merge pull request #13873 from KratosMultiphysics/shallow/update-test…
miguelmaso Oct 9, 2025
c755791
not working yet
AlejandroCornejo Oct 9, 2025
c7832d1
working without the drilling
AlejandroCornejo Oct 9, 2025
d6d9340
r
AlejandroCornejo Oct 9, 2025
a8f2f69
a
AlejandroCornejo Oct 10, 2025
5a23a90
notation
AlejandroCornejo Oct 10, 2025
5934965
Merge branch 'FixUpdateOrderInAnalysisStage' into CLApp/adding-shell-…
AlejandroCornejo Oct 10, 2025
871853e
text in catch
AlejandroCornejo Oct 13, 2025
7a0f8ac
adding new CL for shell
AlejandroCornejo Oct 13, 2025
6703333
advancing
AlejandroCornejo Oct 13, 2025
edc83df
compiling
AlejandroCornejo Oct 13, 2025
bda0f16
registering the CL
AlejandroCornejo Oct 13, 2025
e70d6ca
more methods
AlejandroCornejo Oct 13, 2025
7c9e20c
generaic has
AlejandroCornejo Oct 13, 2025
b61ae7f
GENERIC METHODS
AlejandroCornejo Oct 13, 2025
f1935e1
generic SetValue
AlejandroCornejo Oct 13, 2025
47e95bb
calc value
AlejandroCornejo Oct 13, 2025
5064a26
InitializeMaterial
AlejandroCornejo Oct 13, 2025
ed455b9
CLEANING INCLUDES
AlejandroCornejo Oct 13, 2025
9d9b944
coordis and weight method
AlejandroCornejo Oct 13, 2025
4452f48
more code
AlejandroCornejo Oct 13, 2025
7d20ad9
advancing
AlejandroCornejo Oct 13, 2025
b5041ad
shear
AlejandroCornejo Oct 13, 2025
3972e41
minor
AlejandroCornejo Oct 13, 2025
044afe8
a
AlejandroCornejo Oct 13, 2025
7595f17
optimize
AlejandroCornejo Oct 14, 2025
3623dd7
reset
AlejandroCornejo Oct 14, 2025
2cd6a88
check method
AlejandroCornejo Oct 14, 2025
30518a7
correct now
AlejandroCornejo Oct 14, 2025
3886fac
InitializeMaterialResponseCauchy
AlejandroCornejo Oct 14, 2025
69008ad
optimal
AlejandroCornejo Oct 14, 2025
93a0c75
FinalizeMaterialResponseCauchy
AlejandroCornejo Oct 14, 2025
19a8928
filling the rest of stress measures
AlejandroCornejo Oct 14, 2025
0a68427
unused code
AlejandroCornejo Oct 14, 2025
70c86b1
some improvements
AlejandroCornejo Oct 14, 2025
f271195
working now
AlejandroCornejo Oct 14, 2025
c2178f2
space
AlejandroCornejo Oct 14, 2025
c53749e
calculate LHS
AlejandroCornejo Oct 15, 2025
df709ce
updated thickness integration
AlejandroCornejo Oct 15, 2025
4e7fb0a
aesthetic
AlejandroCornejo Oct 15, 2025
0748727
ansure 8 size of the CL in the element
AlejandroCornejo Oct 15, 2025
0c17699
adding init and fin sol step in shell
AlejandroCornejo Oct 15, 2025
48e2a4b
finalize
AlejandroCornejo Oct 15, 2025
b66bd74
Init sol step in shell
AlejandroCornejo Oct 15, 2025
04db1b7
more imple
AlejandroCornejo Oct 15, 2025
d5a235a
working
AlejandroCornejo Oct 15, 2025
414cffa
substracting center
AlejandroCornejo Oct 15, 2025
bbf27d7
Body forces added
AlejandroCornejo Oct 16, 2025
92977aa
using initial position
AlejandroCornejo Oct 17, 2025
42f1391
Merge remote-tracking branch 'origin/CLApp/adding-shell-constitutive-…
AlejandroCornejo Oct 20, 2025
b536c41
consistent init and fin sol step
AlejandroCornejo Oct 20, 2025
d83027f
adding template for finite displacements formulation
AlejandroCornejo Oct 20, 2025
8756a35
Merge branch 'master' into FixUpdateOrderInAnalysisStage
loumalouomega Oct 20, 2025
01fb3c2
adding quaternions
AlejandroCornejo Oct 20, 2025
a44061c
moving to quaternions
AlejandroCornejo Oct 20, 2025
92073fb
T ok
AlejandroCornejo Oct 20, 2025
81c75aa
nodal displ deformational
AlejandroCornejo Oct 20, 2025
67e3c14
more changes
AlejandroCornejo Oct 20, 2025
370e987
Update test parameters and results for contact beams axial hexagonal …
loumalouomega Oct 20, 2025
80a9697
Fin Non Lin iter
AlejandroCornejo Oct 20, 2025
c09b417
finalizing calculations
AlejandroCornejo Oct 20, 2025
c5cc948
done
AlejandroCornejo Oct 20, 2025
47939cb
minor error
AlejandroCornejo Oct 21, 2025
ce5bf19
Corot option added
AlejandroCornejo Oct 21, 2025
95fe27e
m
AlejandroCornejo Oct 21, 2025
cf12f35
TODO integrate Coord Transf
AlejandroCornejo Oct 21, 2025
ad32cab
impving
AlejandroCornejo Oct 22, 2025
8a8312c
.
AlejandroCornejo Oct 22, 2025
1b7cf98
unused variables
AlejandroCornejo Oct 22, 2025
543d214
not using quaternions in class
AlejandroCornejo Oct 22, 2025
e652b4a
better but not good
AlejandroCornejo Oct 22, 2025
e8d4712
m
AlejandroCornejo Oct 22, 2025
022b406
error BUSTED
AlejandroCornejo Oct 22, 2025
d467e26
problem with membrane behaviour solved
AlejandroCornejo Oct 23, 2025
01de9ff
adding std::
AlejandroCornejo Oct 23, 2025
920965b
avoid nonlinearity in constitutive law
AlejandroCornejo Oct 24, 2025
19be92d
working on the smoothing
AlejandroCornejo Oct 24, 2025
345654c
m
AlejandroCornejo Oct 25, 2025
c02e4df
improving
AlejandroCornejo Oct 25, 2025
11f49f2
final error
AlejandroCornejo Oct 25, 2025
b4655c6
encapsulating
AlejandroCornejo Oct 27, 2025
3b472af
optimized version
AlejandroCornejo Oct 27, 2025
1feb416
cleaning and Bbs computed once
AlejandroCornejo Oct 27, 2025
ed8d840
updating init and fin sol step
AlejandroCornejo Oct 27, 2025
0776d60
update the load and save
AlejandroCornejo Oct 27, 2025
7dd6a5f
final details and refs
AlejandroCornejo Oct 27, 2025
0b9a86a
adding CalculateLHS
AlejandroCornejo Oct 27, 2025
a9855a2
ref length in thickness integrated
AlejandroCornejo Oct 27, 2025
45527d8
opt
AlejandroCornejo Oct 28, 2025
0d637a1
upgrade GetNodalValues
AlejandroCornejo Oct 28, 2025
7092835
using the node 1 ref coordinates as local system origin
AlejandroCornejo Oct 28, 2025
2e8682a
using temp matrix in LHS
AlejandroCornejo Oct 28, 2025
0e5d225
Merge branch 'FixUpdateOrderInAnalysisStage' into CLApp/adding-shell-…
AlejandroCornejo Oct 29, 2025
f5adf59
Merge branch 'master' into CLApp/adding-shell-constitutive-laws
AlejandroCornejo Nov 7, 2025
1c6481e
Merge branch 'master' into CLApp/adding-shell-constitutive-laws
AlejandroCornejo Nov 14, 2025
216b555
complete comments and references
AlejandroCornejo Nov 14, 2025
11dcba9
minor
AlejandroCornejo Nov 14, 2025
4363bb2
using -=
AlejandroCornejo Nov 14, 2025
19b4a7b
some comments
AlejandroCornejo Nov 14, 2025
8fc3c5e
optimizing the GetDofsList
AlejandroCornejo Nov 14, 2025
a9143be
reverting change in old shell
AlejandroCornejo Nov 14, 2025
54f3848
adding one test for the linear triangle with elastic CL
AlejandroCornejo Nov 14, 2025
69b5f10
adding corotational test
AlejandroCornejo Nov 14, 2025
64c4e1c
nice optimization
AlejandroCornejo Nov 14, 2025
850fffc
solving a bug when plasticity
AlejandroCornejo Nov 19, 2025
dab9667
remove unused vars
AlejandroCornejo Nov 19, 2025
405851a
remove unused variables again
AlejandroCornejo Nov 21, 2025
83bee94
adding test shell + plasticity
AlejandroCornejo Nov 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ def Predict(self):
solver.Predict()

def InitializeSolutionStep(self):
# First we call the Predict the analysis_stage InitializeSolutionStep definition
self.Predict()

# Now we execute the corresponding InitializeSolutionStep functions of the solvers, predictors and coupling operations
for solver in self.solver_wrappers.values():
solver.InitializeSolutionStep()

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions applications/CoSimulationApplication/tests/test_mok_fsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class TestMokFSI(co_simulation_test_case.CoSimulationTestCase):

def setUp(self):
self.err_tol = "1e-6"
self.relative_err_tol = "1e-9"
if not have_fsi_dependencies:
self.skipTest("FSI dependencies are not available!")


def test_mok_fsi_mvqn(self):
self.accelerator_type = "mvqn"

Expand Down Expand Up @@ -54,7 +54,6 @@ def test_mok_fsi_block_mvqn(self):
self.__DumpUpdatedCFDSettings()
self._runTest()


def test_mok_fsi_block_ibqnls(self):
self.accelerator_type = "block_ibqnls"
self.err_tol = "6e-5"
Expand Down Expand Up @@ -112,7 +111,6 @@ def test_mok_fsi_mvqn_external_structure_mpi(self):
num_procs = KM.Testing.GetDefaultDataCommunicator().Size()
self._runTestWithExternal(["mpiexec", "-np", str(num_procs), GetPython3Command(), "testing_structural_mechanics_analysis_with_co_sim_io.py", "--using-mpi", ext_parameter_file_name])


def __ManipulateCFDSettings(self):
self.cosim_parameters["solver_settings"]["convergence_accelerators"][0]["type"].SetString(self.accelerator_type)
self.cosim_parameters["solver_settings"]["solvers"]["fluid"]["solver_wrapper_settings"]["input_file"].SetString(self.cfd_tes_file_name)
Expand Down Expand Up @@ -161,14 +159,15 @@ def __AddTestingToCFD(self):
"MESH_VELOCITY_Y"]
}
},{
"python_module" : "compare_two_files_check_process",
"kratos_module" : "KratosMultiphysics",
"process_name" : "CompareTwoFilesCheckProcess",
"Parameters" :{
"output_file_name" : "fsi_mok/fsi_mok_cfd_results_disp.dat",
"reference_file_name" : \""""+disp_ref_file_name.replace("\\", "\\\\")+"""\",
"comparison_type" : "dat_file_variables_time_history",
"tolerance" : """+self.err_tol+"""
"python_module" : "compare_two_files_check_process",
"kratos_module" : "KratosMultiphysics",
"process_name" : "CompareTwoFilesCheckProcess",
"Parameters" :{
"output_file_name" : "fsi_mok/fsi_mok_cfd_results_disp.dat",
"reference_file_name" : \""""+disp_ref_file_name.replace("\\", "\\\\")+"""\",
"comparison_type" : "dat_file_variables_time_history",
"relative_tolerance" : """+self.relative_err_tol+""",
"tolerance" : """+self.err_tol+"""
}
},{
"kratos_module" : "KratosMultiphysics",
Expand All @@ -191,16 +190,17 @@ def __AddTestingToCFD(self):
"MESH_VELOCITY_Y"]
}
},{
"python_module" : "compare_two_files_check_process",
"kratos_module" : "KratosMultiphysics",
"process_name" : "CompareTwoFilesCheckProcess",
"Parameters" :{
"output_file_name" : "fsi_mok/fsi_mok_cfd_results_fluid.dat",
"reference_file_name" : \""""+fluid_ref_file_name.replace("\\", "\\\\")+"""\",
"comparison_type" : "dat_file_variables_time_history",
"tolerance" : """+self.err_tol+"""
"python_module" : "compare_two_files_check_process",
"kratos_module" : "KratosMultiphysics",
"process_name" : "CompareTwoFilesCheckProcess",
"Parameters" :{
"output_file_name" : "fsi_mok/fsi_mok_cfd_results_fluid.dat",
"reference_file_name" : \""""+fluid_ref_file_name.replace("\\", "\\\\")+"""\",
"comparison_type" : "dat_file_variables_time_history",
"tolerance" : """+self.err_tol+"""
}
}]"""))
}
]"""))

def __DumpUpdatedCFDSettings(self):
with open(self.cfd_tes_file_name, 'w') as parameter_output_file:
Expand All @@ -216,6 +216,6 @@ def tearDownClass(cls):
super(TestMokFSI,cls).tearDownClass()
kratos_utils.DeleteFileIfExisting(GetFilePath(cls.cfd_tes_file_name))


if __name__ == '__main__':
KM.Logger.GetDefaultOutput().SetSeverity(KM.Logger.Severity.WARNING)
KratosUnittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ void KratosConstitutiveLawsApplication::Register()
KRATOS_REGISTER_CONSTITUTIVE_LAW("SmallStrainThermalIsotropicDamagePlaneStressDruckerPrager", mSmallStrainThermalIsotropicDamagePlaneStressDruckerPrager);
KRATOS_REGISTER_CONSTITUTIVE_LAW("SmallStrainThermalIsotropicDamagePlaneStressSimoJu", mSmallStrainThermalIsotropicDamagePlaneStressSimoJu);

KRATOS_REGISTER_CONSTITUTIVE_LAW("ThicknessIntegratedIsotropicConstitutiveLaw", mThicknessIntegratedIsotropicConstitutiveLaw);

//Fatigue variables
KRATOS_REGISTER_VARIABLE(HIGH_CYCLE_FATIGUE_COEFFICIENTS)
KRATOS_REGISTER_VARIABLE(FATIGUE_REDUCTION_FACTOR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@
#include "custom_constitutive/thermal/small_strains/damage/generic_small_strain_thermal_isotropic_damage.h"
#include "custom_constitutive/thermal/small_strains/damage/generic_small_strain_thermal_isotropic_damage_plane_stress.h"

// structural elements CL
#include "custom_constitutive/structural_elements_constitutive_laws/thickness_integrated_isotropic_constitutive_law.h"

namespace Kratos {

///@name Kratos Globals
Expand Down Expand Up @@ -677,6 +680,10 @@ class KRATOS_API(CONSTITUTIVE_LAWS_APPLICATION) KratosConstitutiveLawsApplicatio
const GenericSmallStrainThermalIsotropicDamagePlaneStress <GenericConstitutiveLawIntegratorDamage<ThermalSimoJuYieldSurface<VonMisesPlasticPotential<3>>>> mSmallStrainThermalIsotropicDamagePlaneStressSimoJu;
const GenericSmallStrainThermalIsotropicDamagePlaneStress <GenericConstitutiveLawIntegratorDamage<ThermalMohrCoulombYieldSurface<VonMisesPlasticPotential<3>>>> mSmallStrainThermalIsotropicDamagePlaneStressMohrCoulomb;


// Structural elements CLs
const ThicknessIntegratedIsotropicConstitutiveLaw mThicknessIntegratedIsotropicConstitutiveLaw;

///@}
///@name Private Operators
///@{
Expand Down
Loading
Loading