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

Accurate initial interface shape by cylinderToCell

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mturcios777

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2014, 13:44
Default Accurate initial interface shape by cylinderToCell
  #1
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Hi All,

I am using cylinderToCell to generate a cylindrical initial interface shape. However, since my initial mesh is course, I can't have a smooth initial cylindrical shape, which will lead to inaccurate interface deformation.

I noticed that the mesh refinement I used can give me a refined mesh around the interface so the interface looks much smoother. But I don't know how to get refined mesh around the interface at t=0.

Thanks for any advice!

Best,
Prosper is offline   Reply With Quote

Old   March 10, 2014, 10:29
Default
  #2
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Quote:
Originally Posted by Prosper View Post
Hi All,

I am using cylinderToCell to generate a cylindrical initial interface shape. However, since my initial mesh is course, I can't have a smooth initial cylindrical shape, which will lead to inaccurate interface deformation.

I noticed that the mesh refinement I used can give me a refined mesh around the interface so the interface looks much smoother. But I don't know how to get refined mesh around the interface at t=0.

Thanks for any advice!

Best,
Still need help on this problem.

The only thing I can do now is to give a finer regular initial mesh.

Best,
Prosper is offline   Reply With Quote

Old   March 13, 2014, 12:44
Default
  #3
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Any help, please?
Prosper is offline   Reply With Quote

Old   March 13, 2014, 13:02
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
You can use the refineMesh utility on a cellSet. It seems you would have to refine a cylinder first and then set the initial field. You could conceivably do this several times to get a nice interface, but any more than twice feels like overkill and it may potentially bias your results.
Prosper likes this.
mturcios777 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
buoyantSimpleFoam and watertank Tobi OpenFOAM Running, Solving & CFD 100 December 18, 2022 09:15
Velocity blows up suddenly after 30,000+ iterations lordvon OpenFOAM Running, Solving & CFD 15 October 19, 2015 14:52
Extremely slow simulation with interDyMFoam jrrygg OpenFOAM Running, Solving & CFD 9 April 23, 2013 11:14
Interfoam blows on parallel run danvica OpenFOAM Running, Solving & CFD 16 December 22, 2012 03:09
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34


All times are GMT -4. The time now is 22:06.