|
[Sponsors] |
April 12, 2018, 10:08 |
Relaxation between two load steps
|
#1 |
New Member
Join Date: May 2017
Posts: 9
Rep Power: 9 |
Hello community,
maybe you can help me further. I have two load steps. The first step is a heating step of 0.01 seconds. The second step is a 0.01 second cooling step. Between these two steps, the system should "relax", so no more heat to be entered. How can I specify this in the udf? My previous code looks like this: Code:
#include "udf.h" DEFINE_PROFILE(unsteady_temperature, thread, position) { face_t f; real a; real m = 700; begin_f_loop(f, thread) { t = CURRENT_TIME; if ( t > 0.0 && t <= 0.01 ) { F_PROFILE(f, thread, position) = ( m * t )+293.15 ; } // linear heating else if ( t > 1.01 && t <= 1.02 ) { F_PROFILE(f, thread, position) = ( m * t )+1000.15 ; } // linear cooling else { Do nothing and relax???????? } } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lets talk about relaxation factor optimization | chriss85 | OpenFOAM Running, Solving & CFD | 35 | June 21, 2019 09:54 |
Get load values at each substep | ploi | ANSYS | 0 | March 10, 2016 15:07 |
load step and time step in rate independent analysis in ansys APDL | pashapatil67 | Structural Mechanics | 0 | February 14, 2016 13:19 |
Bug/Problem: sonicFoam results depend on relaxation factor | chriss85 | OpenFOAM Bugs | 1 | November 5, 2015 08:22 |
What's happening to my solution for lower relaxation factor | casesam | OpenFOAM Running, Solving & CFD | 3 | October 22, 2015 01:25 |