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

porousSimpleFoam - keyword wallDist undefined

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By tomf
  • 2 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2016, 10:20
Default porousSimpleFoam - keyword wallDist undefined
  #1
Disabled
 
Join Date: May 2016
Posts: 7
Rep Power: 10
anon_j is on a distinguished road
Hi everyone,

I am working on a model with a porous net, which should be simulated using the porousSimpleFoam solver.

When trying to run it, simulation stops shortly after having started and displays following error message:

Code:
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kOmegaSST
[3] 
[3] 
[3] --> FOAM FATAL IO ERROR: 
[3] keyword wallDist is undefined in dictionary "/home/nicolas/OpenFOAM/nicolas-3.0.1/run/sim_multipor_mapped_test1/processor3/system/fvSchemes"
[3] 
[3] file: /home/nicolas/OpenFOAM/nicolas-3.0.1/run/sim_multipor_mapped_test1/processor3/system/fvSchemes at line 0.
[3] 
[3]     From function dictionary::subDict(const word& keyword) const
[3]     in file db/dictionary/dictionary.C at line 648.
[3] 
FOAM parallel run exiting
[3]
I do not see where in fvSchemes wallDist is needed... Does anyone have experience using this solver?

Thanks in advance
anon_j is offline   Reply With Quote

Old   May 27, 2016, 05:27
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

This needs to be added to the end of fvSchemes.

Code:
wallDist
{
    method meshWave;
}
Next time if you are in doubt, look at one of the tutorials:
Code:
grep -r wallDist $FOAM_TUTORIALS
to find examples.

Regards,
Tom
aow and vivek05 like this.
tomf is offline   Reply With Quote

Old   May 27, 2016, 10:46
Default
  #3
Disabled
 
Join Date: May 2016
Posts: 7
Rep Power: 10
anon_j is on a distinguished road
It works, thanks a lot!

I was adapting a case made with v2.3.0 to work in v3.0.1, that's probably why this little detail slipped...
anon_j is offline   Reply With Quote

Old   December 24, 2016, 22:19
Default
  #4
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
Hi,

why this keyword now is necessary?

Thanks
student666 is offline   Reply With Quote

Old   January 4, 2017, 12:04
Default
  #5
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
I am not 100% sure, but I believe the change was due to the method not being hardcoded anymore in the most recent versions of OpenFOAM. These kind of changes happen between major version changes and are usually described in release notes.
student666 and aow like this.
tomf is offline   Reply With Quote

Old   October 31, 2019, 07:42
Default
  #6
New Member
 
neginmondegari
Join Date: Sep 2019
Posts: 9
Rep Power: 7
neginmondegari is on a distinguished road
Create time

Create mesh for time = 0


PIMPLE: No convergence criteria found


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kOmegaSST


--> FOAM FATAL IO ERROR:
keyword wallDist is undefined in dictionary "/home/negin/Desktop/article/article/system/fvSchemes"

file: /home/negin/Desktop/article/article/system/fvSchemes from line 20 to line 55.

From function const Foam::dictionary& Foam::dictionary::subDict(const Foam::word&) const
in file db/dictionary/dictionary.C at line 701.

FOAM exiting
what does walldist mean and the best value for walldist is what?
neginmondegari 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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 01:58
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


All times are GMT -4. The time now is 12:54.