|
[Sponsors] | |||||
Writing a step function in transient thermal problems |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
guy
Join Date: Jul 2012
Posts: 3
Rep Power: 15 ![]() |
Hi,
I've been trying to write a step function that makes my convection coefficient 0 every 6.4 seconds for a period of time of 0.3 secs. Other periods of time I want it to be 25.. I want this to continue indefinitely. Anyone has ideas? Would really be glad if someone just wrote me the function.. Thanks |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,457
Rep Power: 50 ![]() ![]() |
In fluent you could use a UDF which includes the following
Code:
double time;
double coeff;
time=RP_Get_Real("flow-time");
while(time > 6.7)
{
time = time-6.7;
}
if(time < 6.4) coeff = 25.0;
else coeff = 0.0;
Last edited by flotus1; July 30, 2012 at 07:24. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
guy
Join Date: Jul 2012
Posts: 3
Rep Power: 15 ![]() |
Hi and thanks for you feedback.
How should I input this kind of code? I was meaning to use the "Functions" option under Define Loads.. Thanks again |
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,457
Rep Power: 50 ![]() ![]() |
So I see you are using the "transient thermal" node in Ansys workbench.
I don't know if it is possible there have this kind of boundary condition unless you write a table with the values for the whole simulation time. Personally, I would rather use Fluent or CFX for a transient thermal analysis. |
|
|
|
|
|
|
|
|
#5 |
|
New Member
guy
Join Date: Jul 2012
Posts: 3
Rep Power: 15 ![]() |
How can I write a table?
Thanks |
|
|
|
|
|
![]() |
| Tags |
| ansys, step function, thermal, transient |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
| [blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
| Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |
| Difference between steady and transient problems | Jianping Zhang | Main CFD Forum | 9 | April 14, 2003 07:17 |
| Info: Short Course On Thermal Design of Electronic Equipment | Arnold Free | Main CFD Forum | 0 | August 10, 1999 11:18 |