CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

No field colour on isoSurface

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2019, 15:44
Default No field colour on isoSurface
  #1
New Member
 
Join Date: Jan 2013
Posts: 17
Rep Power: 9
Za-ck is on a distinguished road
Hi,

I am trying to create a pciture of the free-water-surface.
First aI use:
postProcess -func writeCellCentres
to get Cz as the height-field

afterward I use the runTimePostProcessing Utility

with

Code:
freeSurfaceIso
        {
            type            isoSurface;
            renderMode      flat; //flat gouraud phong
            representation  surface;
            field           alpha.water;
            values          ( 0.5 );
            colourField     Cz;
            colourBy        field;
            range           (-0.7 0.7);
            smooth          true;
        }
But the free surface stays grey.
Can anyone help?

Cheers,
Za-ck
Za-ck is offline   Reply With Quote

Old   December 11, 2019, 10:29
Default
  #2
New Member
 
Lionel GAMET
Join Date: Nov 2013
Location: Lyon
Posts: 15
Rep Power: 8
x86_64leon is on a distinguished road
Hi Za-ck


Have you finally managed to get some colors on isoSurfaces with runTimePostProcessing ?


I'm currently facing the same issue.



Best
x86_64leon is offline   Reply With Quote

Old   December 16, 2019, 05:23
Default
  #3
New Member
 
Join Date: Jan 2013
Posts: 17
Rep Power: 9
Za-ck is on a distinguished road
Hi Leon,

no I did not find a solution. Now I am doing everything using the python interface of paraview.

Cheers,
Za-ck
Za-ck is offline   Reply With Quote

Old   December 16, 2019, 08:57
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 307
Rep Power: 7
simrego is on a distinguished road
Hi!


If you only need height, you can simply use a calculator on the exported surface field.
Just create a new calculator on the file, name it as you want, and choose the coordsZ from the scalar variables inside the calculator. You can also add an offset to it so you can visualize a relative height or what you want.
simrego is online now   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simpleDyMFoam on v1806 gamemakerh OpenFOAM Programming & Development 0 November 8, 2018 09:15
potential flows, helmholtz decomposition and other stuffs pigna Main CFD Forum 1 October 26, 2017 09:34
[General] How to create an additional vector with {Field 4, Field 5, Field 6} Bombacar ParaView 1 August 15, 2015 19:05
where is the calculation of the temperature field Tobi OpenFOAM 1 July 30, 2012 11:40
Demagnetization field jan0385 ANSYS 0 April 12, 2012 10:09


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