|
[Sponsors] |
September 12, 2024, 21:01 |
sampling,surfaces,output precision
|
#1 |
New Member
chuyi
Join Date: Oct 2023
Posts: 1
Rep Power: 0 |
i did a unsteady simulation
i use surfaces to output p and U of a slice the default precision of p and U is 8,i need to change it to get higher precision i tried to change it, but it did not work. the setting like: Code:
type surfaces; interpolationScheme cellPoint; functionObjectLibs ( "libsampling.so" ); enabled true; // this is just a switch on/off for that function writeControl timeStep; writeInterval 20; // the surface will be stored every 2nd time step (for example) setFormat vtk; surfaceFormat vtk; formatOptions { surfaces { // Optional scale scale 1.0; // Optional format // short/long/free format // short: scalar field width 8. default. // long : scalar field width 16 // free : comma separated, field width according to writePrecision // setting format long; // short/long/free } } fields (p U); surfaces ( zCut { // Cutingplane using iso surface type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { point (0 0 0.15); normal (0 0 1); } interpolate true; } ); } |
|
Tags |
output data, precision, sampling, slice, surfaces |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
why do commercial cfd products provide single precision? | aerosayan | Main CFD Forum | 9 | February 26, 2022 11:57 |
Switching between single and double precision in Fortran | aerosayan | Main CFD Forum | 12 | November 20, 2020 07:24 |
Single precision better than double precision? | 140raiders | CFX | 1 | July 30, 2015 02:32 |
[ANSYS Meshing] ICEM output precision | papis | ANSYS Meshing & Geometry | 4 | July 9, 2013 09:54 |
what's wrong about my code for 2d burgers equation | morxio | Main CFD Forum | 3 | April 27, 2007 10:38 |