|
[Sponsors] |
July 15, 2016, 12:19 |
Error while running sample utility
|
#1 |
Senior Member
Join Date: Sep 2015
Location: Singapore
Posts: 102
Rep Power: 11 |
Dear all,
I am trying to use the sample utility to get a cross section of my 3D case. Here is my sampleDict: Code:
FoamFile { version 2.0; format ascii; class dictionary; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // setFormat raw; surfaceFormat vtk; formatOptions { } interpolationScheme cellPoint; fields ( p U ); sets ( ); surfaces ( xNormal { type plane; basePoint (0 0 0); normalVector (1 0 0); interpolate true; } ); // *********************************************************************** // So, I tried running it in a HPC and it resulted in the following error: Code:
Build : 2.4.0-dcea1e13ff76 Exec : sample -latestTime Date : Jul 15 2016 Time : 22:55:33 Host : "std1621" PID : 20741 Case : /home/users/ntu/m150086/OpenFOAM/JET/atmosphere/ref_1 nProcs : 1 sigFpe : Floating point exception trapping - not supported on this platform fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0.002 Reading surface description: xNormal Time = 0.002 #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib64/libc.so.6" #3 Foam::cuttingPlane::calcCutCells(Foam::primitiveMesh const&, Foam::Field<double> const&, Foam::UList<int> const&) at ??:? #4 Foam::cuttingPlane::reCut(Foam::primitiveMesh const&, bool, Foam::UList<int> const&) at ??:? #5 Foam::sampledPlane::update() at ??:? #6 Foam::sampledSurfaces::update() at ??:? #7 Foam::sampledSurfaces::write() at ??:? #8 ? at ??:? #9 __libc_start_main in "/lib64/libc.so.6" #10 ? at ??:? [std1621:20741:0] Caught signal 11 (Segmentation fault) ==== backtrace ==== 2 0x0000000000059e9c mxm_handle_error() /var/tmp/OFED_topdir/BUILD/mxm-3.4.3065/src/mxm/util/debug/debug.c:641 3 0x000000000005a00c mxm_error_signal_handler() /var/tmp/OFED_topdir/BUILD/mxm-3.4.3065/src/mxm/util/debug/debug.c:616 4 0x0000003b84a326a0 killpg() ??:0 5 0x0000003b84a32625 raise() ??:0 6 0x0000003b84a326a0 killpg() ??:0 7 0x00000000001ebc65 _ZN4Foam12cuttingPlane12calcCutCellsERKNS_13primitiveMeshERKNS_5FieldIdEERKNS_5UListIiEE() ??:0 8 0x00000000001eb72d _ZN4Foam12cuttingPlane5reCutERKNS_13primitiveMeshEbRKNS_5UListIiEE() ??:0 9 0x0000000000232cad _ZN4Foam12sampledPlane6updateEv() ??:0 10 0x0000000000342c81 _ZN4Foam15sampledSurfaces6updateEv() ??:0 11 0x0000000000343a03 _ZN4Foam15sampledSurfaces5writeEv() ??:0 12 0x00000000004067a9 main() ??:0 13 0x0000003b84a1ed5d __libc_start_main() ??:0 14 0x0000000000405ad9 _start() ??:0 =================== Thanks to everyone. |
|
November 16, 2018, 10:06 |
|
#2 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
Hi, I'm having the exactly same error when sampling a surface. Did you find any solution? Thanks, Syavash |
||
November 16, 2018, 10:23 |
|
#3 |
Senior Member
Join Date: Sep 2015
Location: Singapore
Posts: 102
Rep Power: 11 |
I didn't manage to find a solution. Thankfully, the HPC people had compiled OpenFOAM v3.0 which worked fine. I believe that there are some incompatibilities with my compilation of OpenFOAM v2.3 and the libraries in the HPC but I cannot be too sure.
USV |
|
November 16, 2018, 13:51 |
|
#4 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
Thanks for your reply. As I am also using OF 2.3.1 I guess it should be a problem related to the old version. Regards, Syavash |
||
Tags |
sample surface, sample utility, vtk |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with running chtMultiRegionFoam after using setSet utility | Victor | OpenFOAM | 12 | March 24, 2023 01:01 |
running utility command every timeStep | TReviol | OpenFOAM Running, Solving & CFD | 1 | June 25, 2013 10:21 |
double output of sample utility | letzel | OpenFOAM Post-Processing | 0 | March 12, 2013 07:10 |
sample utility surfaceformat as grid data for gnuplot circular crosssection | cfddwarf | OpenFOAM Post-Processing | 0 | July 13, 2012 10:05 |
Understanding the coordinates of sample utility | vishwa | OpenFOAM Post-Processing | 4 | March 25, 2010 13:51 |