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

Problem with roughnesstoFoam/ version problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2018, 11:18
Default Problem with roughnesstoFoam/ version problem
  #1
New Member
 
Hans Kurst
Join Date: Feb 2018
Posts: 4
Rep Power: 8
jimswa is on a distinguished road
Hello,

I have a problem with an already exisiting case which is discribed here:
http://openfoamwiki.net/index.php/Co...oughnessToFoam

The code is hosted on Github:
https://github.com/hananel/roughnessToFoam

I tried to launch the case, but it doesn't work. I found in other threads that this data was created in OpenFoam 4 and I have the version 5.0.1 .

Do you maybe know what I need to modify so that it works.

Il also tried the commands:
blockMesh
snappyHexMesh -overwrite
But then the following error message occurs:

--> FOAM FATAL ERROR:
Number of cells in mesh:8000 does not equal size of cellLevel:24880
This might be because of a restart with inconsistent cellLevel.

From function Foam::scalar Foam::hexRef8::getLevel0EdgeLength() const
in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 355.

.
.
.

Thank you for your help!
jimswa is offline   Reply With Quote

Old   February 6, 2018, 20:36
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

Based on your error message, it would seem like that you would need to clean your case before beginning the meshing process again. Have you given that a try?

Delete the points/faces/cellZones/boundary files in polyMesh folder and try running from blockMesh again.

At the very least the error message that you are seeing right now, should go off.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   February 7, 2018, 09:21
Default
  #3
New Member
 
Hans Kurst
Join Date: Feb 2018
Posts: 4
Rep Power: 8
jimswa is on a distinguished road
Thank you for the answer, but I already tried it.

I changed the commands to:
blockMesh
decomposePar
snappyHexMesh

Now, the mesh is created. But how does it work to take the roughnesstoFoam into account?
jimswa 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
Problem in compiling a solver made for a different version (v2.0 ->v4.1) JLS OpenFOAM Programming & Development 2 July 9, 2019 14:03
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 11:57
version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found ovie Main CFD Forum 1 April 19, 2010 14:00
Fluent New Version 6.3 Problem Help!!!! phinix FLUENT 1 March 15, 2007 20:16


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