CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Visualization of surface scalar field in paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2023, 00:04
Default Visualization of surface scalar field in paraview
  #1
New Member
 
Riya
Join Date: Aug 2022
Posts: 1
Rep Power: 0
riya06 is on a distinguished road
Dear experts,

I have generated a surface scalar field phi output in openfoam. The data are written as a list for e.g.

internalField nonuniform List<scalar>
84816
(
0.00097686221180306163393
-1.2934803937188405545e-06
-3.593104329749689473e-07
-4.4873432280630928465e-06

.....

}
walls
{
type calculated;
value nonuniform List<scalar>
2400
(
6.5475123649135464981e-05
6.7322449751017600459e-05
6.8555470186164915161e-05
6.9186374210746860204e-05

....


To visualize these data in paraview, I have used the command

foamToVTK -surfaceFields

I opened the .vtp file in paraview and added a glyph filter to visualize them.

I face two issues here.

1. Although they are scalar field, after applying glyph, they are shown as a vector field, phi x, phi y, phi z. How to visualize them as a scalar value?

2. My intention is to visualize the phi value only on wall boundary, but there is no option to choose inlet, outlet, wall patch to be activated for these surface scalar fields in paraview. Is there something I can do during using foamToVTK command ? I tried using foamToVTK -no-internal -surfaceFields, but it did not generate vtk corresponding to only boundary phi values.

Any help is very much appreciated.

Thanks
riya06 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
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? EternalSeekerX SU2 3 October 9, 2020 18:28
Surface Elevation as a Scalar Field TomS OpenFOAM Post-Processing 0 June 7, 2019 05:10
scalar field only on one part of a surface Edward1 STAR-CCM+ 7 February 12, 2019 23:25
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 01:27


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