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

Dimension Error in OpenFOAM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 21, 2016, 02:26
Default Dimension Error in OpenFOAM
  #1
New Member
 
Harshal Akolekar
Join Date: Aug 2016
Location: Melbourne
Posts: 10
Rep Power: 2
hakolekar is on a distinguished road
Hi everyone,

I am trying to run a simulation around using rhoPimpleFoam.

However, as soon as I run this I get the following error message.

--> FOAM FATAL ERROR:
Arguments of max have different dimensions
dimensions : [0 0 0 0 0 0 0] and [1 -3 0 0 0 0 0]


From function max(const dimensionSet&, const dimensionSet&)
in file dimensionSet/dimensionSet.C at line 231.


How can this be dealt with?Thank you.
Regards,
Harshal
hakolekar is offline   Reply With Quote

Old   October 21, 2016, 08:13
Default
  #2
Member
 
Join Date: Mar 2014
Posts: 36
Rep Power: 5
Traction is on a distinguished road
Hey,

have you modified the code ? There could be an inconsistency in your implementation ! Otherwise there seems to be a setup mistake in your case (most probably related to dimensions). Itīs a bit hard to tell from far away whats specificly going wrong there.
Traction is offline   Reply With Quote

Old   October 21, 2016, 22:18
Default
  #3
New Member
 
Harshal Akolekar
Join Date: Aug 2016
Location: Melbourne
Posts: 10
Rep Power: 2
hakolekar is on a distinguished road
Hi everyone,

I found the answer.

The dimensions for the pressure file are different for the incompressible case and the compressible case.

[0 2 -2 0 0 0 0] - incompressible



[1 -1 -2 0 0 0 0] - compressible


That was causing the above error.

Regards,
hakolekar 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
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 19:20
mesh spatial dimension in OpenFOAM jr33 OpenFOAM Meshing & Mesh Conversion 4 May 23, 2016 11:59
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 04:57
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
OpenFOAM Training in Europe and USA hjasak OpenFOAM 0 August 8, 2008 05:33


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