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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2019, 14:44
Default No field colour on isoSurface
  #1
New Member
 
Join Date: Jan 2013
Posts: 17
Rep Power: 13
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, 09:29
Default
  #2
New Member
 
Lionel GAMET
Join Date: Nov 2013
Location: Lyon
Posts: 17
Rep Power: 12
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, 04:23
Default
  #3
New Member
 
Join Date: Jan 2013
Posts: 17
Rep Power: 13
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, 07:57
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
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 offline   Reply With Quote

Old   December 27, 2021, 11:53
Default
  #5
Member
 
Join Date: Mar 2009
Posts: 90
Rep Power: 17
aerogt3 is on a distinguished road
Quote:
Originally Posted by x86_64leon View Post
Hi Za-ck


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


I'm currently facing the same issue.



Best

Any luck? Seems to not work at all
aerogt3 is offline   Reply With Quote

Reply


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 08:15
potential flows, helmholtz decomposition and other stuffs pigna Main CFD Forum 1 October 26, 2017 08:34
[General] How to create an additional vector with {Field 4, Field 5, Field 6} Bombacar ParaView 1 August 15, 2015 18:05
where is the calculation of the temperature field Tobi OpenFOAM 1 July 30, 2012 10:40
Demagnetization field jan0385 ANSYS 0 April 12, 2012 09:09


All times are GMT -4. The time now is 11:35.