Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pfem Application] Cutting 2D example Segmentation fault #12311

Open
luchete80 opened this issue Apr 25, 2024 · 3 comments
Open

[Pfem Application] Cutting 2D example Segmentation fault #12311

luchete80 opened this issue Apr 25, 2024 · 3 comments

Comments

@luchete80
Copy link

luchete80 commented Apr 25, 2024

Hello! I've found that running pFEM cutting 2D example is crashing with Segmentation fault. I

Scope
pFEM

To Reproduce
I've build last Kratos version, and then I have to do the following since It did not run (in this link are the steps):

  1. Replace inside MainPfem.py:
    #import MainSolid
    with
    import KratosMultiphysics.SolidMechanicsApplication.solid_analysis as MainSolid

2 Inside TestFactory.py replace
import KratosMultiphysics.PfemApplication.MainPfem
with
import KratosMultiphysics.PfemApplication.MainPfem as MainPfem

  1. Inside solid_analysis.py replace
    #self.t0p = timer.clock()
    self.t0p = timer.process_time()

  2. Change in DelaunayMeshingApplication/remesh_domains_process.py No module named 'meshing_domain'. I have put it inside test directory to be solved quickly. Most clean solution could be to update PYTHONPATH, but is strange since all other modules load correctly.

Expected behavior
To run the example. Maybe the error is in treating the solution as solid_analysis

Environment

  • OS: Ubuntu 22.04
  • Branch: master
  • Python 3.11

20240424

@luchete80 luchete80 changed the title PFEM Cutting 2D example Segmentation fault [Pfem Application] Cutting 2D example Segmentation fault Apr 25, 2024
@AlejandroCornejo
Copy link
Member

@AFranci

@rubenzorrilla
Copy link
Member

@AFranci

Not 100% sure, but I don't think this error is related to @AFranci 's applications.

@AlejandroCornejo
Copy link
Member

Oh sorry!! I saw cutting and I thought that were referring to the new cutting elements of PFEM fluid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants