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

Accurate initial interface shape by cylinderToCell

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

Like Tree1Likes
  • 1 Post By mturcios777

Reply
 
LinkBack Thread Tools 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: 4
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: 4
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: 4
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: 727
Rep Power: 20
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

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
Velocity blows up suddenly after 30,000+ iterations lordvon OpenFOAM Running, Solving & CFD 15 October 19, 2015 13:52
buoyantSimpleFoam and watertank Tobi OpenFOAM Running, Solving & CFD 48 December 26, 2014 09:49
Extremely slow simulation with interDyMFoam jrrygg OpenFOAM Running, Solving & CFD 9 April 23, 2013 10: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 20:21.