code-mphi / ECOGEN

A CFD open source code dedicated to multiphase compressible flows
https://code-mphi.github.io/ECOGEN/
Other
100 stars 34 forks source link

Structure of initialConditionsVX.xml file for surface tension #17

Closed amantr17 closed 2 years ago

amantr17 commented 2 years ago

Dear All, Please help me out in following coding stuff. I want to create a code which includes injection and outflow Boundary conditions along with two wall conditions. In this case, I need to use the Equation of state having surface tension (SG_liquidForSurfaceTensionCases.xml). i made an attempt to write such code but it shows following error:

Exception during reading XML file: file not found or incorrect structure


XML file concerned: '././libTests/myTests/BubbleinWater/initialConditionsV4.xml' infos on exception in code source : file: 'src/InputOutput/Input.cpp' line: 861

Segmentation fault (core dumped)

Kindly suggest me the changes which I need to do.

Thanks & Regards. Aman Tripathi Ph.D. Scholar, IISER Bhopal, India

modelV4.txt meshV5.txt mainV5.txt initialConditionsV4.txt

JorisCaze commented 2 years ago

Dear @amantr17,

The initialConditions XML file you provided does not respect the file architecture:

Also be aware that the input files must have the .xml extension and not .txt (although I suspect it was only changed to upload the files to GitHub).

Please find the corrected files attached.

inputFiles.zip

amantr17 commented 2 years ago

Thank you so much @JorisCaze JorisCaze. Yes i have converted .xml to .txt only for uploading purpose.

amantr17 commented 2 years ago

Hello, In same problem, if we use any geometry from libMeshes by changing only the meshV5.xml, then the following error comes after running some iterations:

Segmentation fault (core dumped)

I think either i have used incorrect value of CFL or totalTime & TimeFreq, or there is some other mistake. Note: Clock time taken in this case is very less . Even, 100 iterations run within few seconds & then code shows error. inputFiles_nozzle_geo.zip

Thanks & Regards. Aman inputFiles_nozzle_geo.zip