|
[Sponsors] |
December 7, 2011, 04:26 |
Lambda2 or Q in multiRegionFoam
|
#1 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
Hallo,
I want calculate Lambda2 or Q in the solver chtmultiRegionFoam. The program don't find the velocity Field U because the domain is spitted into solid and fluid regions. How I can choose the right region? Preibie |
|
December 7, 2011, 04:49 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
You can easily upgrade the utility to read the correct U-field. Maybe it is enoug to change the name of the variable there?
|
|
December 7, 2011, 05:01 |
|
#3 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
Hallo,
copy the U field was my first idea but this is the result: Code:
Time = 2000 Reading U --> FOAM Warning : --> FOAM FATAL IO ERROR: size 613281 is not equal to the given value of 724217 file: /home/preibisch/OpenFOAM/preibisch-2.0.1/run/Waermerohr/Waermerohr_4/2000/U from line 18 to line 613347. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/preibisch/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude/Field.C at line 236. Preibie |
|
December 7, 2011, 05:09 |
|
#4 | ||
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
Quote:
Quote:
|
|||
December 7, 2011, 05:54 |
|
#5 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
That the U field dos not match with the mesh is clear because in the solid regions is no U field defined.
I copy the air/constant/polyMesh from the fluid field in the constant/polyMesh and now it works. I will write me a shell script. Preibie |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiregionfoam + blockmesh + region property | alvora | OpenFOAM | 0 | March 23, 2011 06:03 |
regionCouple in multiRegionFoam | mvoss | OpenFOAM Programming & Development | 1 | March 7, 2011 13:02 |
MultiRegionFoam | alvora | OpenFOAM | 0 | March 2, 2011 07:40 |