CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Interface problem from Starccm+ to OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2018, 13:16
Exclamation Interface problem from Starccm+ to OpenFoam
  #1
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
Hello everybody,
I'm facing the following problem: I created a mesh with Starccm+ and I tried to convert it using ccmToFoam. The problem is that my original mesh contains interfaces (not miving), that connect different part of a pipe. If I tried to start a simulation OpenFoam asks me to set a boundary condition for the interface, that in the "boundaryRegion" file appears as "wall".
Here the error

Code:
Cannot find patchField entry for Interface0_1
How can I fix this problem?

Thanks for help,
best regards
FlyBob91 is offline   Reply With Quote

Old   October 31, 2018, 04:29
Default
  #2
New Member
 
Björn
Join Date: Jul 2016
Location: Germany, Amberg
Posts: 7
Rep Power: 10
BjoernFoam is on a distinguished road
Hello Bob,


I am relatively new to OpenFOAM but willing to share what I have learned so far...

Have you tried to simply remove the corresponding entry in your boundary file?
Remember to also change the first line after the FoamFile header to your new number of boundaries.
BjoernFoam is offline   Reply With Quote

Old   October 31, 2018, 05:40
Default
  #3
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
Quote:
Originally Posted by BjoernFoam View Post
Hello Bob,


I am relatively new to OpenFOAM but willing to share what I have learned so far...

Have you tried to simply remove the corresponding entry in your boundary file?
Remember to also change the first line after the FoamFile header to your new number of boundaries.
Hey Björn,
Thank you for the suggestion. I've just tried what you said and I was able to start the simulation but it stops at the first iteration, sign that somwthing wrong is still there.
Just another question. Should I remove the interface in both "boudnary" and "boundaryRegion" files?
FlyBob91 is offline   Reply With Quote

Old   November 13, 2018, 07:02
Default
  #4
New Member
 
Björn
Join Date: Jul 2016
Location: Germany, Amberg
Posts: 7
Rep Power: 10
BjoernFoam is on a distinguished road
Hello Bob,


please excuse my late reply, I forgot to subscribe and did not get a mail notification...


I don't think that the boundaryRegion file is of much concern to your simulation, if you dont use any boundary-regions in your 0-directory or any other files like the topoSetDict.



Could you run your simulation by now?


Another hint: I usualle get several "wall"- or even several "inlet"-patches when translating meshes to OpenFOAM. If they are written beneath each other you can easely merge your let's say "inlet-patch" by writing the manually calculated result of

startFace*FirstInletPatch - startFace*LastInletPatch + nFaces*LastInletPatch


in the line of



nFaces*FirstInletPatch


and deleting the by now unnecessary inlet-patches.
I usually also delete the inGroups line as i did not need it so far...



Also remember again to change the resulting amount of total patches within the first line after the header of the boundary file.

Best regards

Björn
BjoernFoam is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Meshing & Mesh Conversion 2 June 18, 2011 05:36
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 01:28.