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

LES diesel jet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2019, 01:30
Default LES diesel jet
  #1
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Hi guys,

I'm trying to simulate a diesel jet using LES.
I'm trying to run compressibleMultiInterFoam.

I think I'm getting close but I keep getting this error:

Creating field kinetic energy K

Courant Number mean: 0.0020326 max: 2487.28


--> FOAM FATAL ERROR:
Different dimensions for =
dimensions : [0 2 -1 0 0 0 0] = [1 -1 -1 0 0 0 0]


From function bool Foam::dimensionSet:perator=(const Foam::dimensionSet&) const
in file dimensionSet/dimensionSet.C at line 171.

FOAM aborting


Any thoughts???
Bdew8556 is offline   Reply With Quote

Old   August 20, 2019, 04:04
Default
  #2
New Member
 
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7
boundary93 is on a distinguished road
Wrong unit change it the way the solver already told you
boundary93 is offline   Reply With Quote

Old   August 20, 2019, 04:07
Default
  #3
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Thanks.

What file do I need to change though??
Bdew8556 is offline   Reply With Quote

Old   August 20, 2019, 08:29
Default
  #4
New Member
 
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7
boundary93 is on a distinguished road
It looks like the "nut" file
boundary93 is offline   Reply With Quote

Old   August 20, 2019, 18:56
Default
  #5
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Thanks for that.

So it's wanting me to change the units of the nut file essentially.
I wasn't aware the units of that had to change from incompressible to compressible flow?
How did you figure out it was nut that needed changing? very interesting...
Bdew8556 is offline   Reply With Quote

Old   August 20, 2019, 20:05
Default
  #6
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Interestingly...

After changing the units of the nut file the error reoccurs:

Creating field kinetic energy K

Courant Number mean: 0.00020326 max: 248.728


--> FOAM FATAL ERROR:
Different dimensions for =
dimensions : [1 -1 -1 0 0 0 0] = [0 2 -1 0 0 0 0]


From function bool Foam::dimensionSet:perator=(const Foam::dimensionSet&) const
in file dimensionSet/dimensionSet.C at line 171.

FOAM aborting
Bdew8556 is offline   Reply With Quote

Old   August 21, 2019, 03:31
Default
  #7
New Member
 
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7
boundary93 is on a distinguished road
Just because of the units, but I was wrong. You have to change the pressure units when you change from incompressible to compressible to you have to check these.
boundary93 is offline   Reply With Quote

Old   August 21, 2019, 19:28
Default
  #8
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Yeah I already changed them.
Just to be certain what units for 'p' and 'p_rgh' would you be using?
Bdew8556 is offline   Reply With Quote

Old   August 22, 2019, 03:16
Default
  #9
New Member
 
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7
boundary93 is on a distinguished road
p and p_rgh share the same units:


[1 -1 -2 0 0 0 0];
boundary93 is offline   Reply With Quote

Old   August 22, 2019, 19:36
Default
  #10
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
yep. thats what i've got them set as. hmmm.... seems like ive missed something else then.
Bdew8556 is offline   Reply With Quote

Old   August 26, 2019, 03:19
Default
  #11
New Member
 
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7
boundary93 is on a distinguished road
You should look at a tutorial and then compare all the units to yours. Including the thermophysical Properties.
boundary93 is offline   Reply With Quote

Old   August 26, 2019, 22:36
Default
  #12
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Made a breakthrough of sorts.
Looks like it's "alphat" that needed it's units changed.
It runs now. Whether the values I've chosen are physical or not we'll have to see but I've gotten over that issue.
Bdew8556 is offline   Reply With Quote

Old   August 27, 2019, 03:30
Default
  #13
New Member
 
Adam
Join Date: Jan 2019
Posts: 21
Rep Power: 7
boundary93 is on a distinguished road
If you do RANS you should use a wallfunction for alphat with a turbulent Prandlt of 0.85, but if you do a LES with a fine grid it doesnt really matter in my experience.


Edit:
I just saw that you are doing LES, so forget about the RANS
boundary93 is offline   Reply With Quote

Reply

Tags
les, multiphase, openfoam, turbulence analysis


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
LES for diesel engine kazuki CONVERGE 4 November 16, 2018 22:58
Problem on LES of incompressible free jet huangfei OpenFOAM Running, Solving & CFD 3 September 25, 2017 21:19
LES of Turbulent Jet knuckles OpenFOAM Running, Solving & CFD 1 March 31, 2016 19:33
LES for jet breakup modeling smog OpenFOAM Running, Solving & CFD 9 December 22, 2015 00:41
LES of jet injection giving pulsations nsalpeter Main CFD Forum 3 October 2, 2009 19:12


All times are GMT -4. The time now is 16:38.