CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   SurfaceWriters other than raw are not selectable in sampleSurface (https://www.cfd-online.com/Forums/openfoam-bugs/62552-surfacewriters-other-than-raw-not-selectable-samplesurface.html)

hannes August 28, 2007 07:22

Description: When other write
 
Description:
When other writers than "raw" (for example "vtk") are selected in the sampleSurfaceDict, the program stops and complains that "raw" is the only possible selection (i.e. it presents a list of possible writers, that only contains "raw").

The problem seems to be, that there are no vtk-, dx- and so on writers defined for the types "SphericalTensor" and "SymmTensor"

When all parts concerning volSphericalTensorField and volSymmTensorField are commented out in sampleSurface.C, all works fine.

Solver/Application:
sampleSurface

Source file:

Testcase:


Platform:

Version:
OpenFOAM-1.4 (also 1.4.1)

Notes:

henry August 28, 2007 08:05

Are you sure this doesn't work
 
Are you sure this doesn't work in 1.4.1, I implemented all the writers for all the field types in that version but I only performed basic testing.

hannes August 28, 2007 08:22

Hello Henry, I am still wor
 
Hello Henry,

I am still working with 1.4 but I tried to replace the sampleSurface-1.4 by the one from 1.4.1 and compiled that. Both versions behaved pretty much the same.

But maybe I messed up something. I will check it again when I find some time and report again.

Best regards, Hannes

henry August 28, 2007 08:30

I just tested the version in 1
 
I just tested the version in 1.4.1 and it worked fine for me.

olesen August 28, 2007 09:04

Hi Hannes, If you are back-
 
Hi Hannes,

If you are back-porting the utility to 1.4, be sure that you grab all the sub-directories too (especially surfaceWriters!).


All times are GMT -4. The time now is 06:31.