CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

regular exp in parallel rhoPimple setup

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 7, 2010, 08:28
Default regular exp in parallel rhoPimple setup
  #1
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hi,

it seems that in 1.7x the regular expressions in the 'T' field are not recognized by the thermo libraries in parallel. I get this error:


Reading thermophysical properties Selecting thermodynamics package hPsiThermo [2] #0 Foam::error:rintStack(Foam::Ostream&)[0] #0 [1] #0 Foam::error:rintStack(Foam::Ostream&)Foam::error :rintStack(Foam::Ostream&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so" [2] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/ in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"linux64GccDPOpt/libOpenFOAM.so" [1] #1 Foam::sigFpe::sigFpeHandler(int)[0] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so" [2] #2 in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so" [0] #2 in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so" [1] #2 in "/lib/libc.so.6" [2] #3 Foam::hPsiThermo::calculate() in "/lib/libc.so.6" [1] #3 Foam::hPsiThermo::calculate() in "/lib/libc.so.6" [0] #3 Foam::hPsiThermo::calculate() in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [2] #4 Foam::hPsiThermo::hPsiThermo(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [1] #4 Foam::hPsiThermo::hPsiThermo(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [0] #4 Foam::hPsiThermo::hPsiThermo(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [2] #5 Foam::basicPsiThermo::addfvMeshConstructorToTable: :New(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [1] #5 Foam::basicPsiThermo::addfvMeshConstructorToTable: :New(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [0] #5 Foam::basicPsiThermo::addfvMeshConstructorToTable: :New(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [2] #6 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [1] #6 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [0] #6 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [2] #7 in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" [1] #7 in "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" Basically, I just copied my field files from serial to the snappyHexMesh-processor directories, e.g. for 'T': internalField uniform 293; boundaryField { ".*" { type zeroGradient; } "SYM.*" { type symmetryPlane; } inlet { type fixedValue; value $internalField; } outlet { type inletOutlet; value $internalField; inletValue $internalField; } "procBoundary.*" { type processor; } }

It works by using decompose -fields

Maybe, I missed something... Regards! Fabian
braennstroem is offline   Reply With Quote

Old   August 7, 2010, 13:20
Default
  #2
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
maybe, this is easier to read:

Hi,

it seems that in 1.7x the regular expressions in the 'T' field are not recognized by the thermo libraries in parallel. I get this error:

Code:
Reading thermophysical properties  Selecting thermodynamics package  hPsiThermo [2] #0  Foam::error::printStack(Foam::Ostream&)[0]  #0  [1] #0  Foam::error::printStack(Foam::Ostream&)Foam::error   ::printStack(Foam::Ostream&)  in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"  [2] #1  Foam::sigFpe::sigFpeHandler(int) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/ in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"linux64GccDPOpt/libOpenFOAM.so"   [1] #1  Foam::sigFpe::sigFpeHandler(int)[0] #1   Foam::sigFpe::sigFpeHandler(int) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"  [2] #2   in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"  [0] #2   in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"  [1] #2   in "/lib/libc.so.6" [2] #3  Foam::hPsiThermo::calculate() in  "/lib/libc.so.6" [1] #3  Foam::hPsiThermo::calculate() in  "/lib/libc.so.6" [0] #3  Foam::hPsiThermo::calculate() in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [2] #4  Foam::hPsiThermo::hPsiThermo(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [1] #4  Foam::hPsiThermo::hPsiThermo(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [0] #4  Foam::hPsiThermo::hPsiThermo(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [2] #5  Foam::basicPsiThermo::addfvMeshConstructorToTable:   :New(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [1] #5  Foam::basicPsiThermo::addfvMeshConstructorToTable:   :New(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [0] #5  Foam::basicPsiThermo::addfvMeshConstructorToTable:   :New(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [2] #6  Foam::basicPsiThermo::New(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [1] #6  Foam::basicPsiThermo::New(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [0] #6  Foam::basicPsiThermo::New(Foam::fvMesh const&) in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [2] #7   in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"  [1] #7   in  "/home/gcae504/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"
Basically, I just copied my field files from serial to the snappyHexMesh-processor directories, e.g. for 'T':
Code:
imensions      [0 0 0 1 0 0 0];

internalField   uniform 293;

boundaryField
{

    ".*"
    {
        type            zeroGradient;
    }
    "SYM.*"
    {
        type            symmetryPlane;
    }

    inlet
    {
        type            fixedValue;
        value           $internalField;
    }
    outlet
    {
        type            inletOutlet;
        value           $internalField;
        inletValue      $internalField;
    }
    "procBoundary.*"
    {
        type            processor;
    }
}
It works by using decompose -fields

Maybe, I missed something... Regards! Fabian
braennstroem is offline   Reply With Quote

Old   August 7, 2010, 13:38
Default
  #3
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Sorry my mistake... the procBoundary needs an 'value uniform $internalField'

"procBoundary.*"
{
type processor;
}

Regards!
braennstroem is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX Distributed Parallel Setup Behzad CFX 6 November 25, 2010 21:54
Parallel case setup boundry conditions snappyhexmesh oskar OpenFOAM Pre-Processing 5 September 11, 2009 01:12
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
Problem on Parallel Run Setup Hamidur Rahman CFX 0 September 23, 2007 17:11
PVM RSH parallel setup problem Windows XP abe CFX 11 January 30, 2006 06:10


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