Franjcf / hybridPorousInterFoam

OpenFOAM solver for performing single- and two-phase flow simulations on hybrid-scale porous media.
GNU General Public License v3.0
92 stars 36 forks source link

Segmentation fault (core dumped) - OF7 #1

Closed Rohit8427 closed 3 years ago

Rohit8427 commented 3 years ago

Problem Description: Error in hybridPorousInterFoamsolver itself.

To reproduce issue: Enter the command hybridPorousInterFoam in any of the tutorial case or anywhere.

Build: 7-1ff648926f77 OS: WSL2-Ubuntu 18.04

Franjcf commented 3 years ago

Hi! Thanks for the feedback. I could not reproduce your problem in my machine. Did you build the solver in OpenFoam 7 or 8? Did you use the automatic compiling code "Allwmake" that I included in the folder to build the solver and all the associated libraries?

Rohit8427 commented 3 years ago

I build the solver using OpenFoam 7, and i used automatic compiling Allwmake as available in folder for it in wsl 1,2 Ubuntu 18.04 and also in centos 7 on different machines.

Rvadrabade commented 3 years ago

To add to above discussion. We are able to compile solver successfully however not able to run it. We are getting Segmentation fault (core dumped) with latest OF7 Build: 7-1ff648926f77.

Franjcf commented 3 years ago

Ok, this is unexpected. Could you post the following things so I can get a better idea of your problem?

1) The complete error prompt that the terminal gives you once you run hybridPorousInterFoam 2) The list of solvers under $FOAM_USER_APPBIN 3) The list of libraries under $FOAM_USER_LIBBIN

Can you run standard solvers such as interFoam in the standard tutorials included in OF7?

Rohit8427 commented 3 years ago
  1. The complete error prompt that the terminal gives is: Segmentation fault (core dumped)
  2. List of solvers: hybridPorousInterFoamand hybridPorousPimpleFoam
  3. List of libraries: porousImmiscibleIncompressibleTwoPhaseMixture, porousInterfaceProperties, porousModelsand porousTwoPhaseProperties

Yes, I am able to run standard solver interFoam in the standard tutorials included in OF7.

Please also share your email id with me if you can, so that I can share terminal's screenshot with you.

Franjcf commented 3 years ago

Hi, Sorry for the long delay. I have been pretty busy these last couple of months. You can email me at franjcf "at" princeton.edu, but I'm fairly sure you can include files through this chat as well. Before you do that though I would ask you to make sure your simulation is set up as a laminar flow. The solver currently does not support turbulence models. I have seen other people run into this same problem.