CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Openfoam solver inquiry. (https://www.cfd-online.com/Forums/openfoam-solving/177441-openfoam-solver-inquiry.html)

Bhoomin17 September 13, 2016 22:25

Openfoam solver inquiry.
 
Hey,

I'm new to openFoam; i.e I just started using it about 2 weeks ago. Now, I want to run a 2D stimulation where I want to check the mixing of methane and air in a reactor. I looked at the tutorials in openFoam regarding the same, but, I'm a little confused about which solver to use and edit the solver accordingly. Can someone give some suggestions on the same?

Thank you.

jovani September 16, 2016 18:08

Hi Bhoomin,

Maybe the fireFoam solver is what you are looking for, mainly if you want to simulate combustion in the future. To just simulate the mixing processes you need to simplify, disabling combustion, radiation, pyrolysis, etc. in the case setup.

Regards,
Jovani

Bhoomin17 September 19, 2016 18:54

1 Attachment(s)
Jovani sir,

First of all, thank you for replying to my dilemma. I took a look at the fireFoam solver, and, it seems to be perfect for my stimulation. Just to get a little heads up about the results, I tried running the smallpoolfire2D tutorial, but again, ran into an error. I have attached a screenshot for the same. It would be really helpful if you can take a look at it.

Thank you.

jovani September 19, 2016 19:10

Hi Bhoomin,

Nice this solver is ok for your problem. Apparently you've forgotten meshing. Take a look on the Allrun script. There are some bash commands for pre-processing before to run the solver: blockMesh to create the mesh, topoSet to create a face set, etc. Run ./Allrun in terminal to process all these stuff ....

Best regards,
Jovani

Bhoomin17 September 19, 2016 19:30

Sir,

Thank you for the advise. It worked.

Bhoomin17 September 19, 2016 20:03

1 Attachment(s)
Sir,

Sorry to bother you again. I had made a mesh file in fluent and imported it to openfoam. Now, I followed the steps shown in several online tutorials about importing mesh from a 3rd party meshing software using 'FluentMeshToFoam', and the command was carried out perfectly. I even check the mesh, and it's ok. But, now, when i'm trying to view the geometry using parafoam, I run into this error(as shown in the attachment). Am I missing something?

jovani September 20, 2016 08:17

Hello Bhoomin,

This is because the boundary field names in the 0 directory are not consistent with the names on constant/polyMesh/boundary file. Specifically the wall-part1 does not exist in the boundary of the field p. An option to see the geometry in the paraview before correct this issue is to disable the load of the fields, i.e, load only the mesh.

Jovani


All times are GMT -4. The time now is 09:47.