# Instert new variable witch depent on time step

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

 February 6, 2008, 10:54 Instert new variable witch depent on time step #1 Ordoumpozanis Guest   Posts: n/a Sponsored Links 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 Rogerio Fernandes Brito 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 CycLone 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 Ordoumpozanis 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 Qsun-Qsky. 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 CycLone 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 Ordoumpozanis 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 CycLone 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 PKN 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 Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33 jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24 nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50 panda60 OpenFOAM Bugs 4 July 8, 2010 10:23 Burn OpenFOAM 0 July 16, 2009 10:01