|
[Sponsors] |
Can I simulate multiple velocities at same time step in transient simulation? |
View Poll Results: Can we control change any parameter such as velocity at each time step in transient? | |||
yes | 1 | 100.00% | |
no | 0 | 0% | |
Voters: 1. You may not vote on this poll |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 13, 2021, 21:37 |
Can I simulate multiple velocities at same time step in transient simulation?
|
#1 |
New Member
Muhammad Atif
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
Hello,
I am running a transient simulation (using ANSYS2020R2) to study the effect of deflector position on the drag force of a tractor-trailer. I have written a UDF with CG_MOTION macro to rotate the deflector up and down which is working fine so far. My next task is to rotate the deflector lets say, 1 degree (1st-time step) and before moving it to 2 degrees, I want to see the effect of different velocities (e.g 40 to 60mph) at this time step. I also want to see the effect of changing the yaw angle (0,10,20,30 degree etc.) when deflector is at 1 degree. Once all the yaw angles and velocities are solved for the first-time step then I want to change the angle of the deflector to 2 degrees (by changing to the next time step) and perform the same calculations again. One way of doing is creating a separate project for each yaw angle and run multiple analysis which is a very hectic and time-consuming process. I was wondering if there is a way to do it with UDF. Take one velocity and run a defined number of iteration to reach convergence then change velocity for the same time step and deflector position, and iterate again. once all velocities are done, change time to the next time step (which will change deflector to 2 degrees) and perform same velocity calculations again. Any suggestion on how this can be achieved? Can we actually change velocity at a one-time step and iterate it again and again for different 3 4 velocities and then move to the next time step and repeat same calculations? I hope my question is making sense to you. |
|
May 12, 2021, 06:08 |
|
#2 |
New Member
Join Date: May 2019
Location: I'm a Queenslander
Posts: 28
Rep Power: 7 |
makes sense to me.... if you figure it out Id be interested
|
|
May 13, 2021, 03:01 |
|
#3 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
Can we actually change velocity at a one-time step and iterate it again and again for different 3 4 velocities and then move to the next time step and repeat same calculations?
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
coding, fluent, iteration, time step, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 19:28 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |