CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Ansys fluent patch/add energy/temperature term after some time in transient simulatio

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By MKuhn

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2020, 07:48
Default Ansys fluent patch/add energy/temperature term after some time in transient simulatio
  #1
New Member
 
Ananya
Join Date: Jul 2020
Location: Germany
Posts: 10
Rep Power: 6
fluent_noob is on a distinguished road
Hello,


I am trying to simulate a system with different volumes and a heat source. The idea is that I initialize the system with the heater temperature set. After the thermal equilibrium is reached [say 1 sec] as in the attached figure. I want to introduce an energy source term (or atleast temperature term) for eg. 10 [W/m^3] * (1 + sin (10[Hz] * 2 * PI * 1 [rad / sec / Hz] * t)).
50_um_slit_laminar_total_temp_probe_1.JPG


I have following issues:
1. Do I have to use patching or I can just introduce an "energy source" in the cell zone condition and run the calculation?
2. If I have to use patching tool, there is no energy variable and even for temperture variable I can't provide a periodic function of the form 10 [K] * (1+sin(10[Hz] * 2 * PI * 1[rad / sec / Hz] * t)).
How can I patch/add the energy/temperature term for a particular cell zone after some time in transient simulation?
fluent_noob is offline   Reply With Quote

Old   September 9, 2020, 10:57
Default
  #2
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17
MKuhn is on a distinguished road
patch is only for initialization and timeless, therefor you can patch only pressure, temperature, velocity and so one. To introduce an "energy source" in the cell zone condition is the right way.
MKuhn is offline   Reply With Quote

Old   September 9, 2020, 11:56
Default
  #3
New Member
 
Ananya
Join Date: Jul 2020
Location: Germany
Posts: 10
Rep Power: 6
fluent_noob is on a distinguished road
Quote:
Originally Posted by MKuhn View Post
patch is only for initialization and timeless, therefor you can patch only pressure, temperature, velocity and so one. To introduce an "energy source" in the cell zone condition is the right way.
Thanks for the reply. I have 2 followup questions:
1. If I introduce the "energy source" term after 1 sec (~5000 iterations) and run the calculations, then for iterations beginning from 5001, the system solution will contain the effect due to the energy term as well?
2. If I introduce patch after 5000 iterations and run the calculation, 5001st calculation will have have effect due to the patched parameter as well. But this is without overall initialization. So what do you mean when you say "patch is ONLY for initialization ?
fluent_noob is offline   Reply With Quote

Old   September 10, 2020, 03:41
Default
  #4
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17
MKuhn is on a distinguished road
Quote:
Originally Posted by fluent_noob View Post
Thanks for the reply. I have 2 followup questions:
1. If I introduce the "energy source" term after 1 sec (~5000 iterations) and run the calculations, then for iterations beginning from 5001, the system solution will contain the effect due to the energy term as well?
Yes
Quote:
Originally Posted by fluent_noob View Post
2. If I introduce patch after 5000 iterations and run the calculation, 5001st calculation will have have effect due to the patched parameter as well. But this is without overall initialization. So what do you mean when you say "patch is ONLY for initialization ?
You cannot not patch a "energy source". For a steady state simulation the solution is idenpendent from what you patch. It will only help to improve some initialization values. For transient simulations with patch you can change conditions for a certain time. For example see my hints for the user in this thread.
fluent_noob likes this.
MKuhn is offline   Reply With Quote

Old   September 10, 2020, 08:02
Default
  #5
New Member
 
Ananya
Join Date: Jul 2020
Location: Germany
Posts: 10
Rep Power: 6
fluent_noob is on a distinguished road
Thanks for that clear distinction and explanation. I am trying to compare both the methods mentioned above. Once pressure equivalent energy using energy source term and for other system patching the pressure directly. I use field function to provide the pressure of the form Pstatic + 50[mPa](1+sin(wt)).

Please refer the figure. Is the way of defining the pressure field function correct? The frequency that I specify in the field function is angular frequency or radial?
Attached Images
File Type: jpg field_function_pressure.JPG (49.2 KB, 18 views)

Last edited by fluent_noob; September 10, 2020 at 10:38.
fluent_noob is offline   Reply With Quote

Old   September 11, 2020, 07:57
Default
  #6
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17
MKuhn is on a distinguished road
Sorry, you've lost me there. Maybe someone else can help here.
MKuhn is offline   Reply With Quote

Reply

Tags
#energysource, #fluent, #patch


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
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores puneet336 OpenFOAM Running, Solving & CFD 11 April 7, 2019 01:58
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 11:54
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Transient flow in fluent linyx FLUENT 15 April 24, 2013 10:54


All times are GMT -4. The time now is 03:56.