|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 6 ![]() |
Hello everyone,
I'm trying to sample data from the channel395 tutorial with the sample utility, but I get the following error when doing so: #0 Foam::error: rintStack(Foam::Ostream&) in "/model/giampani/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/model/giampani/ OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so" #2 ?? in "/lib64/libc.so.6" #3 Foam::writer<Foam::SymmTensor<double> >::New(Foam::word const&) in "/model/giampani/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/ libsampling.so" #4 void Foam::sampledSets::sampleAndWrite<Foam::SymmTensor <double> >(Foam::sampledSets::fieldGroup<Foam::SymmTensor<d ouble> >&) in "/model/giampani/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/ libsampling.so" #5 Foam::sampledSets::write() in "/model/giampani/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libsampling.so" #6 Foam::sampledSurfaces::read(Foam::dictionary const&) in "/model/giampani/OpenFOAM/OpenFOAM-1.5/applications/bin/ linux64GccDPOpt/sample" #7 __libc_start_main in "/lib64/libc.so.6" #8 Foam::regIOobject::write() const in "/model/giampani/OpenFOAM/ OpenFOAM-1.5/applications/bin/linux64GccDPOpt/sample" Segmentation fault When I use it for U, UMean etc, everything works fine, so I think there is no problem with the probe line (I've already tried all types...). Furthermore, when trying to sample UPrime2Mean.component() or mag(UPrime2Mean), no error message is given, but no files are created as well. When sampling other cases where UPrime2Mean is present, the same problem arises... Any ideas? Thank you! Leonardo |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 9 ![]() |
Maybe you can try to calculate the components of UPrime2Mean first with
Code:
foamCalc components UPrime2Mean
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
|
|
|
|
|
|
|
#3 |
|
Member
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 6 ![]() |
Hi Sebastian!
Thank you very much! It seems to work perfectly! By the way, do you know why I couldn't sample the variable directly? Would it be a bug? Regards, Leonardo |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 9 ![]() |
Well, I am not sure. I am using version 1.5.x and can calculate the field directly.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Forrest
Join Date: May 2012
Posts: 5
Rep Power: 3 ![]() |
I want ask what is UPrime2mean, the computational formula of it and transient k is the same, but do they the same in real physical meanings? Would you please tell me?
|
|
|
|
|
|
|
|
|
#6 | |
|
Senior Member
Florian Krause
Join Date: Mar 2009
Location: Brussels, Belgium
Posts: 100
Rep Power: 6 ![]() |
Quote:
|
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 12:13 |
| Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 11:00 |
| Some problems with Star CD | Micha | CD-adapco | 0 | August 6, 2003 13:55 |
| unstructured grid | sreekanth | Main CFD Forum | 1 | August 6, 2001 15:09 |
| Using Fluent for Geophysical Problems | Hassid Samuel | FLUENT | 0 | February 23, 2001 06:04 |