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

ControlDict for snappyHexMesh adn interFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 23, 2008, 06:00
Default Dear all, I have tried to com
  #1
erik023
Guest
 
Posts: n/a
Dear all,
I have tried to combine the interFoam tutorial and the snappyHexMesh tutorial in order to primarily examine the pressure on the motorbike given by the water. setting the water level the same throughout the blockMesh region (instead of the dam breakage type setup) i hope to be able to do this.

how ever i have after being able to run the two separately i got stuck on the controlDict. since the snappyHexMesh also saves it's files in time like catalogs it gets confusing. and would i have to run the two (first snappy and then inter, in two cases) separately?

also i do get a bit confused since i'm not familiar with all the terms in the fvSchemes and fvSolutions files, could somebody guide me to some reading?

thank you!
Erik
  Reply With Quote

Old   September 23, 2008, 06:33
Default Hej Erik, Call me... //E
  #2
Member
 
lillberg's Avatar
 
Eric Lillberg
Join Date: Mar 2009
Location: Stockholm
Posts: 80
Rep Power: 8
lillberg is on a distinguished road
Send a message via Skype™ to lillberg
Hej Erik,

Call me...

//Eric Lillberg
lillberg is offline   Reply With Quote

Old   September 24, 2008, 05:50
Default Brilliant, thank you Eric for
  #3
erik023
Guest
 
Posts: n/a
Brilliant, thank you Eric for your help!
What i did, following what Eric told me would work:

1. I ran the snappyHexMesh case using another .stl file

2. I then moved the "3" catalog from the snappyhexmesh case to the interfoam case now using this as "0".

3. I made sure to copy the gamma, pd and U files from the old "0" catalog to the new "0".

After fixing some minor problems i ran into, mostly problems setting the fvSolution, which could be fixed by just reading and following the error-messages, i got it running. Not sure about the how well this results i'm getting right now coincides with reality, but i'll get back on that!
  Reply With Quote

Old   November 10, 2008, 19:27
Default Erik, Would you be kind eno
  #4
New Member
 
michael patterson
Join Date: Mar 2009
Posts: 3
Rep Power: 8
mp340 is on a distinguished road
Erik,

Would you be kind enough to share a copy of your initial conditions. I have followed your three step instructions but got stuck with the 'minor problems':
------------
gradientInternalCoeffs cannot be called for a calculatedFvPatchField
on patch maxY of field U in file "/motorbike/0/U"
You are probably trying to solve for a field with a default boundary condition.
mp340 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh erik023 OpenFOAM Mesh Utilities 19 October 17, 2010 10:09
Specifying probe locations in controlDict using dictionary file vincent OpenFOAM Bugs 3 December 31, 2008 05:25
SnappyHexMesh mp340 OpenFOAM Meshing & Mesh Conversion 1 November 13, 2008 14:30
FoamXException by change in controlDict vladimir OpenFOAM Pre-Processing 2 March 14, 2007 15:32
Reading controlDict diegon OpenFOAM Running, Solving & CFD 1 February 6, 2007 13:31


All times are GMT -4. The time now is 05:45.