|
[Sponsors] |
December 6, 2013, 10:55 |
very strange behavior
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear All,
I am trying to use swak4Foam and it presents a very strange behaviour. Below my U file: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [ 0 1 -1 0 0 0 0 ]; internalField uniform (0.4298 0 0); boundaryField { bottomWall { type groovyBC; value uniform (0 0 1); variabiles "a=6;"; valueExpression "vector (0, 0, a)"; } topWall { type fixedValue; value uniform (0 0 0); } right { type empty; } left { type empty; } inflow { type cyclic; } outflow { type cyclic; } } Since I need more than 1 variable, I can't simply use k instead of a. Could you help, please? Thanks a lot, Samuele |
|
December 6, 2013, 11:26 |
|
#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 |
||
December 6, 2013, 11:29 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
It's just a typo!
But why if I used k, then it worked? Thanks a lot, Samuele. |
|
December 6, 2013, 14:20 |
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Probably (you didn't say which solver you use) because your solver has turbulence and k is the field of the turbulent kinetic energy
__________________
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
strange processor boundary behavior with linearUpwindV | akimbrell | OpenFOAM Bugs | 19 | April 2, 2018 08:42 |
strange processor boundary behavior in foam-extend reactingFOAM | Neka | OpenFOAM Bugs | 8 | August 16, 2017 08:13 |
2D VAWT pimpleDymFoam - strange flow behavior | VAWT | OpenFOAM Running, Solving & CFD | 3 | April 23, 2014 09:01 |
[surface handling] surfaceFeatureExtract strange behavior | wc34071209 | OpenFOAM Meshing & Mesh Conversion | 0 | March 11, 2014 10:22 |
Strange rhoCentralFoam behavior after restart... | vkrastev | OpenFOAM Bugs | 27 | November 19, 2013 13:04 |