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

Tutorial movingcone with MeshModifiers

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 7, 2012, 16:55
Default Tutorial movingcone with MeshModifiers
  #1
New Member
 
olivier Skurtys
Join Date: Aug 2012
Location: Santiago, Chile
Posts: 23
Rep Power: 4
olivier_au_chili is on a distinguished road
Dear Foamers:

I am a newbie in openFoam and I am learning with tutorials. Today, I attempted to practice the tutorial movingCone (version meshModifiers). I have not problem with the compilation.


However, I don't understand the code, in particular files: DynamicMeshDict and the meshmodifiers.

What means the following lines in DynamicMeshDict?

movingConeTopoFvMeshCoeffs
{
motionVelAmplitude (-2 0 0);
motionVelPeriod 1e-6;

leftEdge 0;
leftObstacleEdge 2;
rightObstacleEdge 4;

left
{
minThickness 1e-5;
maxThickness 1e-4;
}

right
{
minThickness 1e-5;
maxThickness 1e-4;
}
}

and the lines in meshmodifiers:

2
(
right
{
type layerAdditionRemoval;
faceZoneName rightExtrusionFaces;
minLayerThickness 0.00002;
maxLayerThickness 0.00005;
oldLayerThickness 0;
active true;
}

left
{
type layerAdditionRemoval;
faceZoneName leftExtrusionFaces;
minLayerThickness 0.00002;
maxLayerThickness 0.00005;
oldLayerThickness 0;
active true;
}

Thanks in advance for your help?

Regards,

Olivier
olivier_au_chili is offline   Reply With Quote

Old   May 14, 2013, 07:13
Default
  #2
jsc
New Member
 
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 4
jsc is on a distinguished road
Quote:
Originally Posted by olivier_au_chili View Post
Dear Foamers:

I am a newbie in openFoam and I am learning with tutorials. Today, I attempted to practice the tutorial movingCone (version meshModifiers). I have not problem with the compilation.

Olivier
Hi Olivier,

I am trying also to setup a case with "layerAdditionRemoval" but I am having troubles doing it and I have only found very little information on how to implement it.

I have recently installed openfoam-2.1.x and 2.2.x and there is only one tutorial called movingCone with no file called "meshModifiers".

Could you please post where do you find the movingCone (version meshModifiers) tutorial or upload the case? (Or at least post the meshModifiers and dynamicMeshDict files). I would be very gratefull.

Basically I have modified the movingCone tutorial adding faceZones with topoSet and adding the "meshModifiers" file but it does not change at all.
Do you know if the meshModifiers works with another lib than movingConeTopoFvMeshCoeffs?

If its helps you this is what I have learned with the tutorial (but I am still a new user, so may be wrong):

*/----------------------------------------------------------------------------------------------------------/*
-movingConeTopoFvMeshCoeffs { }
this is the information needed by the program to modify the mesh, velocity displacement and probably mesh dimensions according to movingConeTopoFvMesh method which is declared before in dynamicMeshDict.

-meshmodifiers
Here are especfied more methods to modify the mesh (in especific areas) during the simulation. In this case the method "layerAdditionRemoval" is declared for two faces (previously delcared in topoSet I guess).

2 (number of actions delared)
(
right
{
type layerAdditionRemoval; (method choosen. It adds or removes cell layers to keep the mesh size constant)
faceZoneName rightExtrusionFaces; (where to apply, I guess must be a FaceZone to remove complete layers of cells)
minLayerThickness 0.00002; (min distance between mesh nodes)
maxLayerThickness 0.00005; (max distance between mesh nodes, the mesh is recalculated to fit between this two parameters).
oldLayerThickness 0; (¿? I have also seen de value -1)
active true; (If true this acction is made if false it is ignored)
}
*/----------------------------------------------------------------------------------------------------------/*

I will keep trying and post any information I will get.

Thank you and good luck,
José
jsc is offline   Reply With Quote

Old   May 14, 2013, 13:41
Default
  #3
New Member
 
olivier Skurtys
Join Date: Aug 2012
Location: Santiago, Chile
Posts: 23
Rep Power: 4
olivier_au_chili is on a distinguished road
Hi José:

I don't use movingConeTopoFvMesh, it is very limited...it's work fine for a cone...

Now if you want a lib to move a mesh and/or to adapt mesh topology (as me), you must use: dynamicTopoFvMesh developed by Sandeep Menon (and Philipose for a fork).

==> https://github.com/smenon/dynamicTopoFvMesh

Regards,

Olivier
olivier_au_chili is offline   Reply With Quote

Old   May 14, 2013, 14:04
Default
  #4
jsc
New Member
 
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 4
jsc is on a distinguished road
Thanks Olivier for your quick answer. I will try it.

Another question.
Is it possible to build somehow this library with openfoam-2.x or it will only work with openfoam-1.6-ext?

Thank you,
José
jsc is offline   Reply With Quote

Old   May 14, 2013, 14:25
Default
  #5
New Member
 
olivier Skurtys
Join Date: Aug 2012
Location: Santiago, Chile
Posts: 23
Rep Power: 4
olivier_au_chili is on a distinguished road
In the REadMe.txt, Sandeep indicates as target plateform: OpenFoam-extend and OpenFoam-2.1.x.

I never used DynamicTopoFvMesh with OpemFoam-2.1.

Olivier
olivier_au_chili 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
MovingCone tutorial and icoDyMFoam with addingremoving mesh layers idosil OpenFOAM Running, Solving & CFD 28 June 29, 2015 14:47
Tutorial for subcooled nucleate boiling Asghari FLUENT 34 September 27, 2013 04:58
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
movingCone tutorial samiam1000 OpenFOAM 0 May 18, 2012 05:08


All times are GMT -4. The time now is 17:47.