Open polenalit opened 5 months ago
PythonPath = '.../.../bin/debug' Path = '../../bin/debug/libs'
Hope this helps you
Thank you for the help. It is running now. However, I am getting some errors. I tried some examples with contact such as Examples-master/contact_structural_mechanics/validation/shallow_ironing_3D I run it as python3 MainKratos.py and I get /Kratos/bin/Debug/KratosMultiphysics/StructuralMechanicsApplication/structural_mechanics_solver.py", line 365, in import_constitutive_laws KratosMultiphysics.ReadMaterialsUtility(material_settings, self.model) RuntimeError: Error: Kratos components missing "HyperElastic3DLaw" Am I doing something wrong?
Most probably you did not compile the ConstitutiveLawsApplication
.
Thank, I recompiled with ConstitutiveLawsApplication. However, I got the following error
-- Trying to install python stub files to enable python hinting support for cpp libraries in IDEs...
Traceback (most recent call last):
File "/Kratos/scripts/post_install/stub_generation.py", line 218, in
Anyway, it seems it is running fine, so I don't understand it.
It seems to be some minor issue with the Python stubs @sunethwarna. In principle, you should be able to run cases. You can either disable the Python stubs generation or leave it as it is while we fix it.
Dear all,
I am completely new to Kratos, so I have some very basic questions.
I was able to compile Kratos in the debug mode. However, I don't know how to run it. I always get an error :
import KratosMultiphysics ModuleNotFoundError: No module named 'KratosMultiphysics'
I found that I should add Kratos to the python path and lib folder to the system path. However, I am not sure which folder I should add to the python path and I don't have any kratos/lib folder.
Is there any documentation which explains the theory behind the implementation? I am particularly interested in large strain shell elements and contact formulation.
Best, Polen