CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Not able to visualize setField result (https://www.cfd-online.com/Forums/openfoam-post-processing/233090-not-able-visualize-setfield-result.html)

vava10 January 12, 2021 19:10

Not able to visualize setField result
 
1 Attachment(s)
Hey everyone,

I am trying to create my own case file and it has VOF in it. I set the fields using setField. There was no error shown in the terminal when I ran the setFields as you can see below:

Code:


sam@LAPTOP-BKEON11O:~/OpenFOAM/OpenFOAM-v2006/tutorials/HullTrial$ setFields
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  v2006                                |
|  \\  /    A nd          | Website:  www.openfoam.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : _b45f8f6f58-20200629 OPENFOAM=2006
Arch  : "LSB;label=32;scalar=64"
Exec  : setFields
Date  : Jan 13 2021
Time  : 00:54:06
Host  : LAPTOP-BKEON11O
PID    : 687
I/O    : uncollated
Case  : /home/sam/OpenFOAM/OpenFOAM-v2006/tutorials/HullTrial
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading setFieldsDict

Setting field default values
    Setting internal values of volScalarField alpha.water

Setting field region values
    Adding cells with centre within boxes 1((-5.194 0 -7.791) (15.58 7.791 0))
    Setting internal values of volScalarField alpha.water

End



but when I try to visualize the result using paraview, it is not working.
The option to see the setField is not coming in the place where " Solid color" is shown in the picture attached below.

Attachment 82071


Can someone help me with it? I have no clue why I am not getting it.:(

P.S. At first, I could not see the cell array either. so I googled and saw that I had to unselect the "Skip Zero Time". After I did that I could see the cell array options.

vava10 January 12, 2021 19:20

1 Attachment(s)
Attachment 82072

this the resultant alpha.water file after running setField.Does this have anything to do with why I cannot visualize the result?


Thank you in advance for the help.

Kind regards
vava10


All times are GMT -4. The time now is 13:10.