CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   how can i model the ideal gas law in CFX? (

CFX13 July 3, 2013 10:05

how can i model the ideal gas law in CFX?
5 Attachment(s)
Dear all,

I am trying to model the ideal gas law in CFX for the following model: The model consists of four walls with the same temperature and between the wall there is air (the ideal gas). The temperature of the walls is higher than the air temperature. We are using steady state computation. The gas is heated in the vicinity of the walls, therefore density and pressure vary. The density field, pressure field and temperature field have to match with the ideal gas law.

Up to now I get no proper results. Besides my setup, I also appended here the corresponding results I get in CFX. I suppose there are some errors in the boundry-conditions or I have an mistake in the setup. I would very much appreciate any advice regarding obvious mistakes or approaches to pinpoint the mistake.

Kind Regards

evcelica July 3, 2013 17:01

In steady state you would have no pressure or temperature variation, everything would be at the wall temperature.

Seems you are trying to enclose the gas at one temperature then raise the temperature and watch the average pressure in the enclosure go up according to the ideal gas law?

CFX13 July 4, 2013 06:15

4 Attachment(s)
that's right. Here are a few screen shots of my setups.
Thanks and regards

ghorrocks July 4, 2013 07:20

Please post your CCL. That is a much better way of describing your setup rather than screen images.

You have not answered Erik's question. If you define all walls to have a defined temperature then the steady state result is the fluid is all at that temperature as well. You do not need a CFD simulation to tell you that.

What are you trying to do with this model? What are you trying to learn?

All times are GMT -4. The time now is 01:08.