Problems sampling UPrime2Mean
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::printStack(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 |
Maybe you can try to calculate the components of UPrime2Mean first with
Code:
foamCalc components UPrime2Mean |
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 |
Well, I am not sure. I am using version 1.5.x and can calculate the field directly.
|
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?
|
Quote:
|
All times are GMT -4. The time now is 02:06. |