CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Update pressure with temperature?

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

LinkBack Thread Tools Display Modes
Old   April 5, 2013, 03:36
Default Update pressure with temperature?
Join Date: Jul 2012
Posts: 31
Rep Power: 7
c_dowd is on a distinguished road
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, 04:28
Join Date: Jul 2012
Posts: 31
Rep Power: 7
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, 12:24
Default Incompressible combustion model
Join Date: Jul 2013
Posts: 38
Rep Power: 6
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,

ni-openfoam-user is offline   Reply With Quote


combustion, pressure, temperature

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
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 11:26
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15

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