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

DynamicMeshDict dynamicRefineFvMesh in 2D

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

Like Tree2Likes
  • 1 Post By sega
  • 1 Post By sgl101

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2009, 14:25
Default I was trying to use the dynami
  #1
New Member
 
Lukas Fischer
Join Date: Mar 2009
Location: Innsbruck, Austria
Posts: 15
Rep Power: 8
lukasfischer is on a distinguished road
I was trying to use the dynamic Mesh refinement for cells near the surface of multiphase flows in a 2D simulation, but as expected it produces more cell layers in z Direction wich is incompatible with patch type "empty". Is there a way to set mesh refinement in only 2 Dimensions? I tried to read the source code of OpenFOAM-1.5/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C but i am new to OpenFOAM and don't know C++...
The mesh i use is done with blockMesh. Any help is more than welcome, thanks, Lukas.
lukasfischer is offline   Reply With Quote

Old   March 12, 2009, 05:44
Default As far as I know the mesh refi
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
sega is on a distinguished road
As far as I know the mesh refinement is done in all 3 space directions. Maybe you should try slip conditions instead of empty for the 3rd direction.
This is what I did with my 2D simulations and dynamic mesh refinement.
mm.abdollahzadeh likes this.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 9, 2010, 09:42
Default
  #3
New Member
 
Simon Lewis
Join Date: Aug 2009
Posts: 1
Rep Power: 0
sgl101 is on a distinguished road
I have been having the same problem as this, and I think i have solved it using a patch of type symmetryPlane, rather than empty.
mm.abdollahzadeh likes this.
sgl101 is offline   Reply With Quote

Old   October 18, 2011, 10:23
Default
  #4
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 125
Rep Power: 8
owayz is on a distinguished road
Send a message via MSN to owayz
Hallo,
I also have a problem in which I want to apply mesh refinement in 2D. I am really not experienced in using openFOAM. If you could please guide me how to implement that.
I have seen the interDyMFOAM solver but I want to use rhoCentralDyMFOAM. So if some one has already used it successfully, I would be really happy if he could help me in any possible way. (i.e. if they could send me their case files and folders, it would be really helpful for me to implement the same thing for my problem.)
Regards,
Awais
owayz is offline   Reply With Quote

Old   November 10, 2014, 08:19
Default
  #5
Member
 
Hossein
Join Date: Apr 2010
Posts: 62
Rep Power: 7
atoof is on a distinguished road
Send a message via Yahoo to atoof
Quote:
Originally Posted by sega View Post
As far as I know the mesh refinement is done in all 3 space directions. Maybe you should try slip conditions instead of empty for the 3rd direction.
This is what I did with my 2D simulations and dynamic mesh refinement.
Dears,

Is it possible to use extrudeMesh utility after each refinement to remove cells in 3rd direction for adaptive refinement method?

Hossein
atoof 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
DynamicRefineFvMesh dies on snappyHexMesh generated grid chtrapp OpenFOAM Running, Solving & CFD 10 October 4, 2012 06:30
OpenFOAM15dev interDyMFoam problem using dynamicRefineFvMesh eberberovic OpenFOAM Bugs 6 January 14, 2010 06:18
DynamicRefineFvMesh dies on snappyHexMesh generated grid chtrapp OpenFOAM Running, Solving & CFD 0 January 29, 2009 13:07


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