|
[Sponsors] |
August 7, 2010, 09:28 |
regular exp in parallel rhoPimple setup
|
#1 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
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 |
|
August 7, 2010, 14:20 |
|
#2 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
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" 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; } } Maybe, I missed something... Regards! Fabian |
|
August 7, 2010, 14:38 |
|
#3 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Sorry my mistake... the procBoundary needs an 'value uniform $internalField'
"procBoundary.*" { type processor; } Regards! |
|
|
|
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 02:12 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |
Problem on Parallel Run Setup | Hamidur Rahman | CFX | 0 | September 23, 2007 18:11 |
PVM RSH parallel setup problem Windows XP | abe | CFX | 11 | January 30, 2006 06:10 |