|
[Sponsors] |
Wrong temperatures with postProcess functions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2021, 11:27 |
Wrong temperatures with postProcess functions
|
#1 |
New Member
Adrian Kwiatkowski
Join Date: Oct 2021
Posts: 2
Rep Power: 0 |
Hello everyone!
I'm trying to postProcess a case by using linear and surface sampling and I recieved wrong results of temperature, the temperature is equal to 193K in whole domain, while the other quantities seemes to be fine. I checked the time/T results itself and numbers there are fine, paraview does not have any troubles with opening it. Functions inside controlDict Code:
functions { #includeFunc mag(U) linesample { type sets; libs (sampling); writeControl timeStep; outputInterval 500; interpolationScheme cellPoint; setFormat csv; sets ( line_horiz_1 { type uniform; axis x; start (0 -0.05 0.100); end (4.525 -0.05 0.100); nPoints 1000; } line_horiz_2 { type uniform; axis x; start (0 -0.05 1.905); end (4.525 -0.05 1.95); nPoints 1000; } line_horiz_3 { type uniform; axis x; start (0 -1.975 1.905); end (4.525 -1.975 1.95); nPoints 1000; } line_horiz_4 { type uniform; axis x; start (0 -1.975 0.100); end (4.525 -1.975 0.100); nPoints 1000; } line_vert_1 { type uniform; axis z; start (0.1 -1.975 0); end (0.1 -1.975 2.05); nPoints 1000; } line_vert_2 { type uniform; axis z; start (4.425 -1.975 0); end (4.425 -1.975 2.05); nPoints 1000; } line_vert_3 { type uniform; axis z; start (0.1 -0.05 0); end (0.1 -0.05 2.05); nPoints 1000; } line_vert_4 { type uniform; axis z; start (4.425 -0.05 0); end (4.425 -0.05 2.05); nPoints 1000; } Measurment_points { type cloud; axis xyz; points ((0.1 -0.05 0.1) (0.1 -1.975 0.1) (0.1 -0.05 1.95) (0.1 -1.975 1.95) (4.425 -0.05 0.1) (4.425 -1.975 0.1) (4.425 -0.05 1.95) (4.425 -1.975 1.95)); } ); fields (T mag(U) p p_rgh U); } /* Measurment_points { type cloud; axis xyz; points ((0.1 -0.1 0.1) (0.1 -1.925 0.1) (0.1 -0.1 1.95) (0.1 -1.925 1.95) (4.425 -0.1 0.1) (4.425 -1.925 0.1) (4.425 -0.1 1.95) (4.425 -1.925 1.95)); interpolationScheme cellPoint; setFormat csv; writeControl timeStep; outputInterval 500; fields (T mag(U) p p_rgh ); } */ Surfaces { type surfaces; libs (sampling); interpolationScheme cellPoint; surfaceFormat vtk; writeControl timeStep; outputInterval 500; fields (T mag(U) p p_rgh U); surfaces ( surface4 { type plane; planeType pointAndNormal; pointAndNormalDict { point (0.1 -0.05 0.1); normal (0 1 0 ); } triangulate true; } surface3 { type plane; planeType pointAndNormal; pointAndNormalDict { point (0.1 -0.05 0.1); normal (0 0 1 ); } triangulate false; } surface5 { type plane; planeType pointAndNormal; pointAndNormalDict { point (0.1 -0.05 0.1); normal (1 0 0 ); } triangulate false; } surface2 { type plane; planeType pointAndNormal; pointAndNormalDict { point (4.425 -1.975 1.95); normal (0 1 0 ); } triangulate false; } surface1 { type plane; planeType pointAndNormal; pointAndNormalDict { point (4.425 -1.975 1.95); normal (0 0 1 ); } triangulate false; } surface6 { type plane; planeType pointAndNormal; pointAndNormalDict { point (4.425 -1.975 1.95); normal (1 0 0 ); } triangulate false; } ); } } If anyone had the same problem or know the solution please let me know. Thank you all in advance! Adrian |
|
Tags |
buoyantsimplefoam, openfaom, sample postprocessing, temperature |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
postprocess: symbol lookup error | BenAsbo626 | OpenFOAM Post-Processing | 2 | October 26, 2018 14:28 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
How to calculate node temperatures from cell temperatures? | h0rst | FLUENT | 2 | May 28, 2017 01:15 |
fully developed channel flow with kOmega, wrong results | boshynova | OpenFOAM Programming & Development | 1 | April 20, 2016 11:54 |
meshing of a compound volume in GMSH | shawn3531 | OpenFOAM | 4 | March 12, 2015 11:45 |