CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Problems sampling UPrime2Mean

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2009, 05:24
Default Problems sampling UPrime2Mean
  #1
Member
 
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 17
leonardo.morita is on a distinguished road
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
leonardo.morita is offline   Reply With Quote

Old   May 15, 2009, 06:36
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Maybe you can try to calculate the components of UPrime2Mean first with
Code:
foamCalc components UPrime2Mean
and than do the sampling?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 15, 2009, 07:03
Default
  #3
Member
 
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 17
leonardo.morita is on a distinguished road
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
leonardo.morita is offline   Reply With Quote

Old   May 15, 2009, 07:08
Default
  #4
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
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!"
sega is offline   Reply With Quote

Old   May 10, 2012, 00:04
Default
  #5
New Member
 
Forrest
Join Date: May 2012
Posts: 5
Rep Power: 14
buct11019 is on a distinguished road
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?
buct11019 is offline   Reply With Quote

Old   May 10, 2012, 05:36
Default
  #6
Senior Member
 
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17
florian_krause is on a distinguished road
Quote:
Originally Posted by buct11019 View Post
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?
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
florian_krause is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:02.