|
[Sponsors] |
September 14, 2009, 05:06 |
decompose with wallfunctions
|
#1 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
I'm having some problems decomposing a case with wallfunctions. If I run it in serial there are no problems but when trying to decompose I get this error (below). If I add the "value uniform 0;" below the kqRWallFunction line I can decompose but I don't see why this should be required when using high Re turb model in parallel. My k and epsilon entry for the wall propeller { type kqRWallFunction; } propeller { type epsilonWallFunction; }
From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&) |
|
September 14, 2009, 11:23 |
|
#2 |
Member
santhosh
Join Date: Apr 2009
Location: India
Posts: 70
Rep Power: 17 |
I also faced this problem. One trickier solution would be to run in serial till the openFOAM creates new k and epsilon files and moves old files as k.old and epsilon.old, try decomposepar then.
But It would be nice if decomposePar utility changed to consider keqWallfunction boundary too. Santosh.. |
|
September 14, 2009, 12:22 |
|
#3 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
I did something similar.
I just decomposed and then deleted the "value" line in each of the k/epsilon files under each processor folder, not a nice approach but it works :-) |
|
October 16, 2009, 06:03 |
|
#4 |
Member
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 73
Rep Power: 17 |
Humm... I've read some post that uses
value $internalField; not sure what it does, but seems to be working. |
|
October 16, 2009, 07:41 |
|
#5 |
New Member
Matteo Carpentieri
Join Date: Mar 2009
Posts: 28
Rep Power: 17 |
Hi,
as far as I understand the behaviour of the wall function routines in OpenFOAM, I believe that the values in the BC are just placeholders. They are not used by the solvers and are re-calculated for the wall patches. However, some of the utilities will complain if a value is not provided (decomposePar and paraFoam, for example). I believe this is a bug, and the only solution, for now, is to provide 'dummy' values (for example the same value as the internal field, or 0). This is just my opinion, maybe someone more expert than me will deliver a better answer @cwang5: I think that statement is just another way of using the internal field values; as I was saying above, it should not have any effect on the calculations. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
Wallfunctions onoff | gjesing | OpenFOAM Running, Solving & CFD | 5 | February 11, 2010 00:55 |
Regarding wallFunctions | Hectux | OpenFOAM Running, Solving & CFD | 0 | May 29, 2009 04:23 |
Serial OK parallel failsmesh conversion problem | r2d2 | OpenFOAM Running, Solving & CFD | 15 | July 31, 2008 16:04 |
Bug in twoPhaseEulerFoam wallfunctions | alberto | OpenFOAM Bugs | 1 | February 9, 2007 15:15 |