|
[Sponsors] |
May 15, 2007, 07:29 |
Hi there,
I managed to set
|
#1 |
Senior Member
Thomas Jung
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hi there,
I managed to set up a moving (i.e. shrinking) mesh, and calculate some diffusion on it, seems to work fine. Now I would like to use the layer addition/removal stuff. Have been searching a lot on forum and wiki - but have to admit I could not get an idea how to use mesh modifiers. Also, there seems not to be any tutorial really using layer removal. What I tried: added this to my dynamicFvMeshDict: bottom { type layerAdditionRemoval; faceZoneName bottomFaces; minLayerThickness 5e-3; maxLayerThickness 1e-2; oldLayerThickness -1; active on; } where bottom is a patch adjacent to which I would like to remove layers. Apart from this, I am just calling mesh.upgrade() in my application. However, somethings missing - nothing happens (well, the mesh moves as before and as expected, but no layers are removed...) Maybe I somehow have to create that facezone - but have no idea how... Any hints? Thank you! Thomas |
|
May 18, 2007, 05:27 |
o.k. .... found and compiled t
|
#2 |
Senior Member
Thomas Jung
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
o.k. .... found and compiled the utility "setSet", and can construct faceSets now. However I am in doubt if a faceSet is the same as a faceZone ... could someone help me, please?
Thanks! Thomas |
|
February 9, 2009, 06:09 |
Hallo Thomas
i am at the sa
|
#3 |
New Member
patrick riemer
Join Date: Mar 2009
Location: Uni Stuttgart, Germany
Posts: 19
Rep Power: 17 |
Hallo Thomas
i am at the same point right now. I have a moving mesh with an oscillating plate. This patch is a wall, called plate. My mesh is deforming too much, so i need layer addition/removal. It's important for me to solve that problem soon because i have to finish a thesis work. I would be very thankful for some help. I use 1.4.1-dev - Do i need a file called meshModifiers in /constant? How do i introduce such faces rightExtrusionFace and leftExtrusionFace? What are they for? - In the dynamicMeshDict: How do i recompile movingConeTopoFvMesh.C for the case that i need another motion. Desired function: u = dx/dt = VelAmplitude * cos(2*pi*freq*t) = VelAmp * cos(pi*t/VelPeriod) In movingConeTopoFvMesh.C: VelAmplitude * sin(t*pi/VelPeriod) |
|
February 20, 2009, 06:36 |
Hello,
I would need the same
|
#4 |
Member
Virginie Ehrlacher
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
Hello,
I would need the same kind of advice: how do we use the meshModifiers? I have added a meshModifier file in constant/polymesh, however teh solver does not seem to take it into account. Do I need another line of code to have it understand that I want the meshmodifier to be used? I am using the last version of OpenFOAM-1.5-dev (on svn) and I am working with the solver InterTrackFoam to simulate the flow of a viscous liquid over a slope. Thank you in advance. Virginie |
|
February 20, 2009, 07:24 |
You will need to write your ow
|
#5 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
You will need to write your own topoChangerFvMesh class, which will incorporate mesh motion and mesh modifiers. There's plenty of examples in the library.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 31, 2010, 06:22 |
|
#6 |
Member
Wolfgang W.
Join Date: Nov 2009
Location: Switzerland
Posts: 57
Rep Power: 17 |
Hello to you all,
I was wondering if one of you has had success in implementing a new topoChangerFvMesh class - especially with regard to merging layerAdditionRemoval and dynamic mesh motion. I'm working on a problem which seems to resemble the one Patrick described very closely - I just use an expanding circular membrane instead of a plate. I'm playing around with the movingConeTopoFvMesh class at the moment, trying to figure out how I can adapt it to my problem. Still, I fear that for a recently started OpenFOAM rookie it might be difficult to fight through all this without advice - especially with regard to including the mesh motion as well. I would very much appreciate if anyone could point me to helpful examples of similar topoChangerFvMesh classes, provide some code fragments or any other advice. Best regards, Wolfgang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create fine mesh that grows to coarse mesh (Urgent | CZ | FLUENT | 1 | January 3, 2009 11:36 |
Mesh motion independent mesh regions | philippose | OpenFOAM Running, Solving & CFD | 12 | August 5, 2008 17:16 |
Oscillatory mesh motion setup mesh flux ERROR | jaswi | OpenFOAM Running, Solving & CFD | 5 | August 23, 2007 05:41 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |
How to convert STAR mesh into FLUENT mesh ? | Jihwan | Siemens | 8 | November 10, 2004 05:11 |