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

CHT LHS/RHS Dimension Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2018, 11:03
Default CHT LHS/RHS Dimension Error
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
I am getting the following when I run my CHT case, what could be the source of the problem?

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1712                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : v1712
Arch   : "LSB;label=32;scalar=64"
Exec   : chtMultiRegionSimpleFoam
Date   : Jun 10 2018
Time   : 15:58:51
Host   : "DESKTOP-EGDC4UU"
PID    : 1321
I/O    : uncollated
Case   : /mnt/d/Microgen/OpenFOAM/CHT_Test_1_Copy
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create fluid mesh for region microgen_fpse-fluid_domain for time = 0

Create solid mesh for region microgen_fpse-head_can for time = 0

Create solid mesh for region microgen_fpse-heat_acceptors for time = 0

Create solid mesh for region microgen_fpse-refractory for time = 0

*** Reading fluid mesh thermophysical properties for region microgen_fpse-fluid_domain

    Adding to thermoFluid

Selecting thermodynamics package
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}

AMI: Creating addressing and weights between 3694 source faces and 3694 target faces
AMI: Patch source sum(weights) min/max/average = 0.999998, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999997, 1, 1
AMI: Creating addressing and weights between 92064 source faces and 92447 target faces
AMI: Patch source sum(weights) min/max/average = 0.975461, 1, 0.999998
AMI: Patch target sum(weights) min/max/average = 0.970341, 1, 0.999998
AMI: Creating addressing and weights between 2953 source faces and 2901 target faces
AMI: Patch source sum(weights) min/max/average = 0.9996, 1, 0.999999
AMI: Patch target sum(weights) min/max/average = 0.999441, 1, 0.999999
AMI: Creating addressing and weights between 3182 source faces and 3134 target faces
AMI: Patch source sum(weights) min/max/average = 0.998369, 1, 0.999986
AMI: Patch target sum(weights) min/max/average = 0.998738, 1, 0.999987
    Adding to rhoFluid

    Adding to UFluid

    Adding to phiFluid

    Adding to gFluid

    Adding to hRefFluid

    Adding to ghFluid

    Adding to ghfFluid

    Adding to turbulence

Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
bounding k, min: 0 max: 0.047633 average: 0.047633
RAS
{
    RASModel        kEpsilon;
    turbulence      on;
    printCoeffs     on;
    Cmu             0.09;
    C1              1.44;
    C2              1.92;
    C3              0;
    sigmak          1;
    sigmaEps        1.3;
}



--> 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 Foam::dimensionSet Foam::operator-(const Foam::dimensionSet&, const Foam::dimensionSet&)
    in file dimensionSet/dimensionSet.C at line 517.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&)sh: 1: addr2line: not found
 addr2line failed
#1  Foam::error::abort()sh: 1: addr2line: not found
 addr2line failed
#2  Foam::operator-(Foam::dimensionSet const&, Foam::dimensionSet const&)sh: 1: addr2line: not found
 addr2line failed
#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&)sh: 1: addr2line: not found
 addr2line failed
#4  ?sh: 1: addr2line: not found
 addr2line failed
#5  __libc_start_mainsh: 1: addr2line: not found
 addr2line failed
#6  ?sh: 1: addr2line: not found
 addr2line failed
Aborted (core dumped)
Sean95 is offline   Reply With Quote

Old   June 10, 2018, 11:33
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Your p or p_rgh has a bad dimensionin the 0 folder
It should be [1 -1 -2 0 0 0 0]
simrego is offline   Reply With Quote

Old   June 10, 2018, 11:56
Default
  #3
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
Thanks that worked, the p file had the wrong dimensions, I must have forgotten to change it
Sean95 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
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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