Peclet number does not appear in ParaView
Hello Foamers!
I ran an icoFoam case and afterwards the Pe tool. I wanted to visualize Pe in ParaView I notice that I have no access to fields. I would like to see them, what do I do? Cheers in advance |
hi claus,
i think you can only see Pe as Vector arrows. To do this you have to type foamToVTK -surfaceFields then start paraview and open VTK/surcfaceFields, then "Apply" and Filters/Common/Glyph or simply click the "Glyph" button, after this you can see the vectors of Pe... i hope this helps |
Hello marcbest,
thanks for you advice which had worked, but this way is unsatisfactory, because such an effort must be made. I keep looking for an better solution; probaly the code has to be rewritten. Cheers |
Hi
why don't you try to add peclet number in creatFields.H? as a variable which it shouldn't be read but it should be write ???? |
Hi,
what you mean by that? Do you mean to cope the problem by using volScalarField? Currently, I am trying either, but the problem is: I do not know how to compute the measure of the cells, i.e. Let U, nu and nut be given then volScalarField Pe ( IOobject ( "Pe", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mag(U)/(nu+nut)*"What" ) What can I insert for "What"? Cheers |
Additionally, I should mention that I am only interesting in Navier-Stokes convection-dominated flows.
|
hi friend
one way can be to enter characteristic length, through Dic by "readScalar" function then put this length instead of "what" but im not sure!!! |
Quote:
|
All times are GMT -4. The time now is 07:24. |