|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Jun 2012
Posts: 8
Rep Power: 15 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
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 |
||
|
|
|
||
|
|
|
#3 |
|
New Member
Join Date: Jun 2012
Posts: 8
Rep Power: 15 ![]() |
Hello,
thanks a lot for your hint, it woks perfectly. And shame on me!!! ![]() Regards Nils |
|
|
|
|
|
![]() |
| Tags |
| funkysetfield, internal field, velocity |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |