|
[Sponsors] |
November 9, 2010, 13:13 |
|
#41 |
Member
N. A.
Join Date: May 2010
Posts: 64
Rep Power: 16 |
Hi Frnasje, Eugene and others,
Are there any guideline of selecting the offset plane value, for example how far from the inlet? Thanks, Nir |
|
November 10, 2010, 11:51 |
|
#42 | |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Hello Andrea,
The definition you show here, from your ./constant/polyMesh/boundary file, is fine to use with the nearestCell keyword. If you want to use the nearestPatchFace keyword, you will have to specify a sample patch to the samplePatch switch, instead of none. I also understand that there is a bug under investigation associated with the use of the nearestFace keyword. Let me know if this solves your problem. Kind regards, Francois. Quote:
|
||
November 10, 2010, 12:00 |
|
#43 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Yes, there are.
You might want to read the following papers:
I hope this helps, and good luck. Kind regards, Francois. |
|
November 10, 2010, 12:57 |
Update to the use of nearestFace
|
#44 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Update to the use of nearestFace
The bug related to the use of the nearestFace keyword has been fixed in the 1.7.x release. If you are using the 1.7.x version of OpenFOAM, go to the ./OpenFOAM-1.7.x map, and enter: Code:
git pull Code:
./Allwmake Francois. |
|
November 11, 2010, 05:21 |
|
#45 | |
New Member
Andrea Aprovitola
Join Date: Nov 2009
Posts: 16
Rep Power: 16 |
Dear Francois,
I'm very grateful to you for your support, it s all clear to me and my application is working now Kind Regards, Andrea Quote:
|
||
November 30, 2010, 09:31 |
free planar jet
|
#46 |
Member
|
Hi
I am using pisofoam and I want to model a three dimentional free planar jet with large eddy simulation. the co-flow velocity in my case is weak compared to the jet centerline velcity resulting in a strong shear layer at the jet edge. 1- can I use direct map method for turbulet inlet generation? 2- does any body use priodic boundary condition in OF? I really appreciate any help !! sincerely yours |
|
November 30, 2010, 11:45 |
|
#47 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear Yashar,
Yes, you can use DirectMapped method for turbulent flow generation. That's what is was developed for. Whether you can apply it to your jet flow case is an other question. Maybe you can get away with a random turbulent inlet, as your case is somewhat similar to a flow over a backward facing step, for which the quality of the initial turbulence if of less importance. You should refer to relevant literature over the influence of the quality of turbulent information at the inlet for different flow cases. Think of Lund etal 1998, Keating and Piomelli 2004, etc. Yes, cyclic BC are used in OpenFOAM. Have a look at the channelFoam tutorial. Kind regards, Francois. |
|
November 30, 2010, 12:01 |
|
#48 |
Member
|
Dear Francois,
I am really grateful for you guidance. I will study those papres. sincerely yours, Yashar |
|
January 10, 2011, 04:19 |
|
#49 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
Dear Fransje,
I use directMappedVelocityFlux to recycle the velocity field, but the flow field can not develop at all. After some steps, the velocity in the whole field is nearly zero. I use "pisoFoam" solver, Smagorinsky SGS model. I want to know how to make flow field develop using directMapped method ? or directMapped method must be used for channelFoam ? Thanks. |
|
January 10, 2011, 10:34 |
|
#50 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
I run the "pitzDailyDirectMapped" tutorials. I initialize the flow field using Ux=10m/s. But after some time steps, the Ux value become very small.
I think the velocity was not recycled at all. Anyone can help me ? The left figure is initial data, the right is some time steps later. |
|
January 11, 2011, 09:24 |
|
#51 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear Jiang,
What is the boundary condition you are using? directMappedVelocityFlux, or directMapped(FixedValue)? Kind regards, Francois. |
|
January 12, 2011, 04:44 |
|
#52 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
Dear Fransje,
I am sorry, I haven't explain clearly. I run the case in the directory "tutorials/........./incompressible/les/pitzDirectMapped". I have tried 3 kinds of inflow conditions: 1. directMapped (nearestCell). 2. directMapped (nearestFace). 3. directMappedVelocityFlux (nearestFace). I use the solver "pisoFoam".The following is the detailed information. |
|
January 12, 2011, 04:53 |
|
#53 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
1. directMapped (nearestCell).
U file: boundaryField { inlet { type directMapped; setAverage false; average (10 0 0); value uniform (10 0 0); } boundary file: ( inlet { type directMappedPatch; nFaces 30; startFace 27238; sampleMode nearestCell; sampleRegion region0; samplePatch none; offset (0.05 0 0); } changeDictionaryDict file: dictionaryReplacement { boundary { inlet { type directMappedPatch; offset ( 0.05 0 0 ); sampleRegion region0; sampleMode nearestCell; samplePatch none; } } } the following is initial concours and 1000 time steps later |
|
January 12, 2011, 05:00 |
|
#54 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
2. directMapped (nearestFace).
U file: boundaryField { inlet { type directMapped; setAverage false; average (10 0 0); value uniform (10 0 0); } boundary file: inlet { type directMappedPatch; nFaces 30; startFace 27238; sampleMode nearestFace; sampleRegion region0; samplePatch none; offset (0.05 0 0); } changeDictionaryDict file: dictionaryReplacement { boundary { inlet { type directMappedPatch; offset ( 0.05 0 0 ); sampleRegion region0; sampleMode nearestFace; samplePatch none; } } } the following is initial concours and 1000 time steps later. |
|
January 12, 2011, 05:07 |
|
#55 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
3. directMappedVelocityFlux (nearestFace).
U file: boundaryField { inlet { type directMappedVelocityFlux; value uniform (10 0 0); phi phi; } boundary file: type directMappedPatch; nFaces 30; startFace 27238; sampleMode nearestFace; sampleRegion region0; samplePatch none; offset (0.05 0 0); } changeDictionaryDict file: dictionaryReplacement { boundary { inlet { type directMappedPatch; offset ( 0.05 0 0 ); sampleRegion region0; sampleMode nearestFace; samplePatch none; } } } the following is initial concours and 1000 time steps later. |
|
January 12, 2011, 05:13 |
|
#56 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
So I think the method "nearestCell" is correct, but the "nearestFace" method in new version 1.7.x is still wrong. I just updated to the version 1.7.x last month(2010.12.20).
Because only directMappedVelocityFlux can be used to modify to realise rescaling method, So the "nearestFace" is important for me. Could you give me some suggestions ? Thanks. |
|
January 12, 2011, 09:43 |
|
#57 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear Jiang,
To be honest, I find surprising that you get any results at all with the settings you gave me.
Kind regards, Francois. |
|
January 12, 2011, 10:35 |
|
#58 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
And the nearestCell method shows correct result, but nearestFace method shows wrong result. I wait for nearestFace nearly 1 year. But it is a pity, I can't pass the example in my computer even using new version 1.7.x. How about your case ? could you give me some information about your case ? Thanks. |
|
January 12, 2011, 11:17 |
|
#59 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear Jiang,
I definitely cannot reproduce your results using the method you described. As I understand it, you applied the following steps to get your results:
Kind regards, Francois. |
|
January 12, 2011, 11:55 |
|
#60 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
Dear Francois,
Yes, I did like this. Is there something which are not appropriate in my setting ? Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
velocity inlet vs pressure inlet | cheong | FLUENT | 6 | April 9, 2011 04:07 |
subsonic inlet or supersonic inlet? | mali | CFX | 0 | November 28, 2008 21:57 |
about inlet bc | ivanyao | OpenFOAM Running, Solving & CFD | 0 | November 25, 2008 04:17 |
reversed flow at velocity inlet / mass flow inlet | ib | FLUENT | 1 | March 26, 2007 14:11 |
How to set smoke inlet speed on inlet | Adam | FLUENT | 0 | October 4, 2005 09:18 |