
[Sponsors] 
February 6, 2008, 10:54 
Instert new variable witch depent on time step

#1 
Guest
Posts: n/a

Hi I want to insert an equation witch gets the temperature of each cell from one specific area of the domain at the time t and recalculate a variable so at the time stem t+1 to read this new variable. I believe that I must insert an expresion but I don't know how to specify an area and how to give a function of time values in transient .
if anyone help me thanks 

February 6, 2008, 13:38 
Re: Instert new variable witch depent on time step

#2 
Guest
Posts: n/a

On Solver Control, u will alble to use "Monitor Points".


February 7, 2008, 15:05 
Re: Instert new variable witch depent on time step

#3 
Guest
Posts: n/a

You can use the probe() function to get values from a monitor point, or use one of the other available expressions to return values from a 2D or 3D region. It's not clear from your description what you're trying to do. Can you describe it differently?
CycLone 

February 7, 2008, 17:51 
Re: Instert new variable witch depent on time step

#4 
Guest
Posts: n/a

I have a surface that gets solar radiation Qsun. this surface gets warm because of this radiation. I want to import the radiation from the surface to the sky because the temperature gets to hi. So I need the Temperature of the surface. I run in transient and I want to import an expression of calculate the new Q which is QsunQsky. So I want to calculate the new Q from the time step "t" and to import in to the time step "t+1". To do this I need to have the Temperature of this surface and a way to import a value from the previous time step to the current time step.
thank you 

February 8, 2008, 12:34 
Re: Instert new variable witch depent on time step

#5 
Guest
Posts: n/a

If you write an expression as a function of T, the solver will actually do exactly what you need. Since the boundary condition is assembled before the timestep is solved, the value of T which the CEL expression accesses is actually the old T. Your expression is then used to apply a new T for the timestep.
Instead of using an expression as above, you might instead define your black body temperature as the sky temperature and add an energy source to the boundary equal to Qsun (on the boundary condition, go to the "Sources" tab). This should do what you want. CycLone 

February 12, 2008, 06:06 
Re: Instert new variable witch depent on time step

#6 
Guest
Posts: n/a

Cyclone thank you Could you give me an example of an expretion with time, because i am trying to find any emaple and I can't.
thank you 

February 12, 2008, 16:30 
Re: Instert new variable witch depent on time step

#7 
Guest
Posts: n/a

Hi Ordoumpozanis,
Since you have an equation in mind, write it out as you would on paper and post it. Explain what the variables mean and I can show you how to do it with CEL. CEL is really quite straightforward. You write expressions as you normally would. Include the dimensions of constants and refer to solver variables (Temperature, Pressure, 't' for time) by name. If you keep this in mind and remember the the available variables all come from the existing solution (i.e. the last timestep) it's really quite straightforward. The hard part is actually believing it's that easy! CycLone 

February 12, 2008, 17:18 
Re: Instert new variable witch depent on time step

#8 
Guest
Posts: n/a

I dont have an answer to your question but i was wondering if "ordoumpozanis" is your real name. If yes, then can you pronounce it and how many people have been able to pronounce it correctly so far. Thank you


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
How to write k and epsilon before the abnormal end  xiuying  OpenFOAM Running, Solving & CFD  8  August 27, 2013 15:33 
Orifice Plate with a fully developed flow  Problems with convergence  jonmec  OpenFOAM Running, Solving & CFD  3  July 28, 2011 05:24 
Error while running rhoPisoFoam..  nileshjrane  OpenFOAM Running, Solving & CFD  8  August 26, 2010 12:50 
directMapped problem  panda60  OpenFOAM Bugs  4  July 8, 2010 10:23 
Intermediate step during a time step  Burn  OpenFOAM  0  July 16, 2009 10:01 