CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

chtMultiRegionSimpleFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2013, 11:18
Default chtMultiRegionSimpleFoam
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear All,

I am trying to set a multiregion simulation. It is a steady solution, hence I am using chtMultiRegionSimpleFoam.

The point is that I get this error:
Code:
lab@lab-laptop:~/Documenti/Ethics/FRISBEE/CFD/testVerticalTN_PCM/PCM/steady$ chtMultiRegionSimpleFoam
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec   : chtMultiRegionSimpleFoam
Date   : Jun 18 2013
Time   : 17:13:29
Host   : "lab-laptop"
PID    : 5389
Case   : /home/lab/Documenti/Ethics/FRISBEE/CFD/testVerticalTN_PCM/PCM/steady
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create fluid mesh for region fluid for time = 0

Create solid mesh for region pcm_1 for time = 0

Create solid mesh for region pcm_2 for time = 0

Create solid mesh for region pcm_3 for time = 0

*** Reading fluid mesh thermophysical properties for region fluid

    Adding to thermoFluid

Selecting thermodynamics package hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
    Adding to rhoFluid

    Adding to kappaFluid

    Adding to UFluid

    Adding to phiFluid

    Adding to gFluid

    Adding to turbulence

Selecting turbulence model type RASModel
Selecting RAS turbulence model laminar
    Adding to ghFluid

    Adding to ghfFluid



--> FOAM FATAL ERROR: 
LHS and RHS of - have different dimensions
     dimensions : [0 2 -2 0 0 0 0] - [1 -1 -2 0 0 0 0]


    From function operator-(const dimensionSet&, const dimensionSet&)
    in file dimensionSet/dimensionSet.C at line 535.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::error::abort() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  Foam::operator-(Foam::dimensionSet const&, Foam::dimensionSet const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#3  Foam::tmp<Foam::GeometricField<Foam::typeOfSum<double, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::operator-<double, double, Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#4  
 in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#5  __libc_start_main in "/lib/libc.so.6"
#6  
 in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
Aborted
lab@lab-laptop:~/Documenti/Ethics/FRISBEE/CFD/testVerticalTN_PCM/PCM/steady$
Where is the error, to you? It seems that I am setting wrong units of measurement to the BC. But where? Could you help?

Thanks,
Samuele
samiam1000 is offline   Reply With Quote

Old   July 9, 2013, 02:47
Default
  #2
ZKW
New Member
 
Unnikrishnan
Join Date: Nov 2012
Posts: 8
Rep Power: 4
ZKW is on a distinguished road
Hi.

seems you have used the wrong dimensions for Pressure,

check 0/Fluid/p & 0/Fluid/p_rgh

p : dimensions [1 -1 -2 0 0 0 0];
p_rgh : dimensions [1 -1 -2 0 0 0 0];

as per the chtMultiRegionSimpleFoam tutorial.
openfoam211/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0

Regards
Unni
ZKW 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



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