|
[Sponsors] |
May 15, 2009, 05:24 |
Problems sampling UPrime2Mean
|
#1 |
Member
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 17 |
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 |
|
May 15, 2009, 06:36 |
|
#2 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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!" |
|
May 15, 2009, 07:03 |
|
#3 |
Member
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 17 |
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 |
|
May 15, 2009, 07:08 |
|
#4 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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!" |
|
May 10, 2012, 00:04 |
|
#5 |
New Member
Forrest
Join Date: May 2012
Posts: 5
Rep Power: 14 |
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?
|
|
May 10, 2012, 05:36 |
|
#6 |
Senior Member
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17 |
Why do I think, that you didn't use the forum search functionality or have a look at the code to find an answer yourself? Please correct me if I am wrong
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 13:13 |
Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 12:00 |
Some problems with Star CD | Micha | Siemens | 0 | August 6, 2003 14:55 |
unstructured grid | sreekanth | Main CFD Forum | 1 | August 6, 2001 16:09 |
Using Fluent for Geophysical Problems | Hassid Samuel | FLUENT | 0 | February 23, 2001 07:04 |