|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Lala Sasa
Join Date: Jun 2014
Posts: 16
Rep Power: 13 ![]() |
Hi guys!
Small question here. I'm trying to impose a velocity field in a specific part of a doman, but I seam not able to specify the zone in which the fvOption should apply. Zone Declaration: Code:
actions
(
{
name Bomba;
type cellZone;
action new;
source boxToCellZone;
sourceInfo
{
box (0.5 0.5 0.1) (0 0 0);
}
}
);
Code:
momentumSource
{
type pressureGradientExplicitSource;
active on; //on/off switch
selectionMode cellZone; //cellSet // points //cellZone
cellZone Bomba;
pressureGradientExplicitSourceCoeffs
{
fieldNames (U);
Ubar ( 2 0 0 );
}
}
Code:
vertices
(
(0 0 0)
(1 0 0)
(1 1 0)
(0 1 0)
(0 0 0.1)
(1 0 0.1)
(1 1 0.1)
(0 1 0.1)
);
Last edited by ChukerSweet; June 23, 2014 at 14:55. Reason: new info, refrase |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Lala Sasa
Join Date: Jun 2014
Posts: 16
Rep Power: 13 ![]() |
Hi wyldkat!
The thing is not working, like at alll, so there might be quite a few thing wrong with the build I'm trying to pull out. The two examples I got "inspired" by are the: tutorials/incompressible/pimpleFoam/channel395/system/fvOptions This used the function " pressureGradientExplicitSource" which I think is a good way of dealing with a simulation of a pump in a closed loop ( please correct me if I'm wrong there ). But in that example the DeltaP is impose all over the place. So in the example in: tutorials/multiphase/cavitatingFoam/ras/throttle/system There is clearly a zone declaration under the topoSetFile In the attachment you can see my attempt to setting things up. You might notice that there is no modification in the controlDict file, since I haven't find the way to say to openFoam "Hey there is a zone over there, and it has some propertys" The "easy" example I'm trying to adapt is the cavity run with pisoFoam. If you could help me I would be quite grateful |
|
|
|
|
|
|
|
|
#4 |
|
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 130 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi ChukerSweet,
Unfortunately only today did I manage to take a very quick look into this and unfortunately I don't have enough time to study the files you've shared ![]() In addition, I don't know if you've already solved this issue or not, but if you haven't, I've remembered an example case I made sometime ago that uses blockMesh + snappyHexMesh: http://www.cfd-online.com/Forums/ope...tml#post408279 - post #5 Beyond this, have a look at the tips given on this wiki page: http://openfoamwiki.net/index.php/SnappyHexMesh Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#5 |
|
Senior Member
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 15 ![]() |
Hi ChukerSweet,
Have you solved your problem? If so, could you please describe your approach? Thanks! Eloïse |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Commercial meshers] Fluent3DMeshToFoam | simvun | OpenFOAM Meshing & Mesh Conversion | 50 | January 19, 2020 16:33 |
| [Gmsh] gmsh/OpenFOAM/bad zone names | latvietis | OpenFOAM Meshing & Mesh Conversion | 1 | August 30, 2013 19:16 |
| Porosity profile, dividing a zone, or getting zone location from zone | khoopes | FLUENT | 0 | June 2, 2012 20:39 |
| set zone in interDyMFoam (OF1.5-dev). how to? | DLC | Main CFD Forum | 0 | November 25, 2009 11:53 |
| Fluent incident radiation problem | Michael Schwarz | Main CFD Forum | 0 | October 21, 1999 06:56 |