|
[Sponsors] |
April 28, 2017, 09:36 |
vectorSwakSetValue utilities
|
#1 |
New Member
WilsonLee
Join Date: Jan 2016
Posts: 7
Rep Power: 10 |
Dear all:
I am using swak4Foam utilities--vectorSwakSetValue to set up with a fixed normal velocity from porous cylinder's surface in a still air surroundings. below part is specified in the fvOptions file. Code:
porousFaceNormalVelocity { type vectorSwakSetValue; active true; timeStart 0; duration 100; vectorSwakSetValueCoeffs { selectionMode cellSet; cellSet c0; variables ( "xp=0.5;" "yp=0.5;" "up=50;" "x=pos().x;" "y=pos().y;" "rp=sqrt(pow((x-xp),2)+pow((y-yp),2));" ); useMaskExpression false; expressions { U "vector(up*(x-xp)/rp,up*(y-yp)/rp,0)" [0 1 -1 0 0 0 0]; } } } Code:
Selecting finite volume options model type vectorExplicitSetValue Source: momentumSource - selecting cells using cellSet c0 - selected 1600 cell(s) with volume 0.04 . Is there anything wrong with my settings? Or how can I specify an surface-normal velocity on an cylindrical surface. Great thanks for giving me any suggestion!! |
|
May 2, 2017, 05:22 |
|
#2 |
New Member
WilsonLee
Join Date: Jan 2016
Posts: 7
Rep Power: 10 |
Could anyone give me some hint, please
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PyFoam] run pyFoam utilities from python script | ilpaso | OpenFOAM Community Contributions | 9 | January 27, 2022 03:04 |
Utilities: post average turbulence fields and create turbulence fields for LES | Hanzo | OpenFOAM Running, Solving & CFD | 10 | August 18, 2017 18:33 |
Cannot compile utilities in Ubuntu 12.04 | skyinventorbt | OpenFOAM Programming & Development | 2 | January 7, 2014 00:19 |
Sim CFD Utilities Now Available Online | marktm250xc | Autodesk Simulation CFD | 1 | February 22, 2013 16:54 |
Region support for utilities | borrbyper | OpenFOAM Post-Processing | 0 | July 27, 2012 09:07 |