|
[Sponsors] |
September 11, 2012, 05:40 |
funkySetField
|
#1 |
New Member
Join Date: Jun 2012
Posts: 8
Rep Power: 14 |
Hello,
I'm using funkySetFieldDict to define the velocity of my internal field. Unfortunately after using the funkySetField command all the other boundary conditions defined in the U-file are replaced by zeroGradient. Is there a way that funkySetField keeps the previous defined velocity boundary conditions? Otherwise it is quite time consuming to correct every single case. See my used funkySetFieldDict: Code:
FoamFile { version 2.0; format ascii; class dictionary; object funkySetFieldsDict; } expressions ( internalfield { field U; expression "(18*((log(pos().z/0.0002))/(log(17/0.0002))))*vector(-0.966,0.259,0)"; } ); Regards Nils |
|
September 11, 2012, 20:39 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
September 12, 2012, 02:50 |
|
#3 |
New Member
Join Date: Jun 2012
Posts: 8
Rep Power: 14 |
Hello,
thanks a lot for your hint, it woks perfectly. And shame on me!!! Regards Nils |
|
Tags |
funkysetfield, internal field, velocity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bubble in zero gravity conditions | sega | OpenFOAM Running, Solving & CFD | 59 | November 25, 2011 08:21 |
[Technical] Cell numbering | sega | OpenFOAM Meshing & Mesh Conversion | 1 | April 20, 2010 12:32 |
[swak4Foam] funkySetField | lions85 | OpenFOAM Community Contributions | 2 | March 17, 2010 08:57 |