CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Journal

Salehi and Nilsson - 2021 - OpenFOAM for Francis Turbine transients

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By hani

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2021, 02:15
Default Salehi and Nilsson - 2021 - OpenFOAM for Francis Turbine transients
  #1
New Member
 
Jozsef Nagy
Join Date: Dec 2018
Posts: 15
Rep Power: 7
jnagy is on a distinguished road
Comments and questions are welcomed on the article Salehi and Nilsson, OpenFOAM for Francis Turbine transients, OpenFOAM Journal, November 2021, https://doi.org/10.51560/ofj.v1.26.

Last edited by bigphil; April 11, 2022 at 09:00. Reason: Update link
jnagy is offline   Reply With Quote

Old   August 5, 2022, 03:30
Default Mesh conversion
  #2
Member
 
MANU P ANAND
Join Date: Jul 2014
Location: Daegu , REPUBLIC OF KOREA
Posts: 36
Rep Power: 12
manupanand is on a distinguished road
Quote:
Originally Posted by jnagy View Post
Comments and questions are welcomed on the article Salehi and Nilsson, OpenFOAM for Francis Turbine transients, OpenFOAM Journal, November 2021, https://doi.org/10.51560/ofj.v1.26.
Hi, thank you for your contribution. I would like to know how do you convert ICEM mesh and Turbogrid mesh to Open FOAM format
manupanand is offline   Reply With Quote

Old   August 8, 2022, 02:19
Default
  #3
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 204
Rep Power: 18
hani is on a distinguished road
Quote:
Originally Posted by manupanand View Post
Hi, thank you for your contribution. I would like to know how do you convert ICEM mesh and Turbogrid mesh to Open FOAM format
A common way to do that is to write out in Fluent *.msh format and then use fluentMeshToFoam or fluent3dMeshToFoam to convert it to OpenFOAM format.
manupanand likes this.
hani is offline   Reply With Quote

Old   September 13, 2022, 09:32
Default
  #4
New Member
 
Saeed Salehi
Join Date: Aug 2010
Posts: 27
Rep Power: 16
salehi144 is on a distinguished road
Quote:
Originally Posted by manupanand View Post
Hi, thank you for your contribution. I would like to know how do you convert ICEM mesh and Turbogrid mesh to Open FOAM format
As Håkan explained, we usually export an ICEM case to Fluent's *.msh format and then convert them into OpenFOAM format through fluent3DMeshToFoam. In the case of TurboGrid, the mesh is first sent to ICEM and then exported to Fluent format.

Just make sure to write an ASCII file *.msh file when exporting with ICEM as OpenFOAM's fluent3DMeshToFoam cannot handle binary files.

Saeed
salehi144 is offline   Reply With Quote

Old   December 20, 2023, 13:30
Exclamation Error: No grid connectivity for zone
  #5
New Member
 
Lorenz
Join Date: Jun 2023
Location: Austria
Posts: 11
Rep Power: 3
Lor_enz is on a distinguished road
I hope you can give me some hints on that.


As you mentioned, i would like to use a turbogrid mesh for openfoam. As cgnstofoam is not very updated, i wanted to use your workaround with ICEM.
However, when loading the mesh (unstructured cgns) into ICEM i get the error Error: No grid connectivity for zone.


After that error, the mesh loads "without" a problem, and let me export as well without an error. However fluent3dtofoam fails as well as loading the .msh in fluent.

There must be some error in the conversion process. I am using Turbogrid (R2022R2) with ICEM (R2020R2).



greetings Lorenz
__________________
Lorenz H.



PhD Student
Montanuniversity Leoben
Lor_enz is offline   Reply With Quote

Old   December 21, 2023, 03:45
Default
  #6
New Member
 
Saeed Salehi
Join Date: Aug 2010
Posts: 27
Rep Power: 16
salehi144 is on a distinguished road
Hi Lorenz,

I usually do not export from Turbogrid and then import to ICEM. I use Workbench and in that case, one can just simply "connect" the two Turbogrid and ICEM modules. Then, ICEM will be able to read the Turbogrid mesh properly. Hopefully, this was the answer you were looking for. Otherwise, let me know.

Saeed

Last edited by salehi144; December 21, 2023 at 06:36.
salehi144 is offline   Reply With Quote

Old   December 23, 2023, 05:51
Default Still strange...
  #7
New Member
 
Lorenz
Join Date: Jun 2023
Location: Austria
Posts: 11
Rep Power: 3
Lor_enz is on a distinguished road
Hello Saeed,

thanks for you quick reply. Unfortunatly the problem does not resolve by dragging directly in workbench. The error contuines to be the same: No grid connectivity information for zone 1

I checked if it is some error in my geometry that leads to turbogrid failure as I have developed a new CAD program for turbomachinery, that is also capable of exporting to turbogrid. But also using the Ansys Bladedesigner did not resolve it.

Strangly i have observed that i cannot import in standard Fluent the CGNS file either. However fluent let me process the CGNS mesh, when importing it during the activated turbomachinery workflow that is provided in fluent.
Neither do i have an issue when using CFX.

Problem, i require the mesh for OpenFoam, so i am bound to get somehow the turbogrid to .msh, in order to export it.

I am using Ansys 2022R2.



Merry Christmas,

Lorenz
__________________
Lorenz H.



PhD Student
Montanuniversity Leoben
Lor_enz is offline   Reply With Quote

Old   December 23, 2023, 10:55
Lightbulb Complicated workaround
  #8
New Member
 
Lorenz
Join Date: Jun 2023
Location: Austria
Posts: 11
Rep Power: 3
Lor_enz is on a distinguished road
As direct implementation did not work for me (at least in R2022), however this worked more me:
  1. Create Turbgrid mesh
    • export as .cgns
  2. Load into fluent using the turbomachine workflow (important)
    • Important change IO-filetype to Legacy
    • Write file as .cas
  3. Open .cas file in ICEM (does not have to be in wb)
  4. Write mesh now as .msh
  5. Use fluent3DMeshToFoam *.msh
Complicated workaround, but at least a way,

@saeeh, what version are you using?


greetings Lorenz
__________________
Lorenz H.



PhD Student
Montanuniversity Leoben
Lor_enz is offline   Reply With Quote

Old   December 29, 2023, 09:06
Default
  #9
New Member
 
Saeed Salehi
Join Date: Aug 2010
Posts: 27
Rep Power: 16
salehi144 is on a distinguished road
I'm glad that it worked for you in the end. It has been a while since I used TurboGrid but I think I have used different versions (R2022 also) and they all worked the way I explained (directly from Turbogrid to ICEM and then export to *.msh).
salehi144 is offline   Reply With Quote

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:00.