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

Update pressure with temperature?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2013, 04:36
Default Update pressure with temperature?
  #1
Member
 
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14
c_dowd is on a distinguished road
Hi,
I've got an incompressible combustion model, which updates temperature based on a combustion model. Now I would like to have this temperature affect the pressure field, but I can't for the life of me think how to do this. I realise it's something to do with the thermophysical model and the thermo->correct line, however my pressure still stays constant.
c_dowd is offline   Reply With Quote

Old   April 5, 2013, 05:28
Default
  #2
Member
 
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14
c_dowd is on a distinguished road
Okay I am fairly certain the thermo.correct() line is the one responsible for updating the pressure with temperature, and the reason it's not working is because I'm using a psi type thermophysical model and my psi values aren't being update. I'm using a psi thermophysical model in order to use the built in combustion models, is there some way to update my psi values during the run? I tried psi = thermo.psi(), but this gave me errors.
c_dowd is offline   Reply With Quote

Old   July 10, 2014, 13:24
Default Incompressible combustion model
  #3
Member
 
James
Join Date: Jul 2013
Posts: 38
Rep Power: 13
ni-openfoam-user is on a distinguished road
Dear Cameron,

I am currently working on modifying the "reactingFoam" solver from compressible to incompressible".

I have started by changing the Make/options file.

However I will also need to include an incompressible combustion model (to replace the current compressible combustion models available)

If possible could you post your incompressible combustion model?

I ultimately wish to simulate a high pressure hydrogen release (3 mm diameter at about 1000 m/s).

My plan is to use reactingFoam (switching off chemistry and reactions). I plan to modify the reactingFoam solver into an incompressible solver and then further modify it to run in steady state.

I would appreciate any comments or advice regarding this approach?

Kind regards,

James
ni-openfoam-user is offline   Reply With Quote

Reply

Tags
combustion, pressure, temperature


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
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Density of fluid with respect to temperature and pressure akash_max CFX 4 November 6, 2011 10:00
Pressure and Temperature UDF for Cell Zone elixer2104 FLUENT 0 February 24, 2011 12:54
Does star cd takes reference pressure? monica Siemens 1 April 19, 2007 12:26
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 03:15


All times are GMT -4. The time now is 21:40.