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

How to enter timestep(fo having several cycles) in FSI simulation in fluent?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2022, 00:38
Default How to enter timestep(fo having several cycles) in FSI simulation in fluent?
  #1
Member
 
naji
Join Date: Nov 2022
Posts: 37
Rep Power: 3
aiden_1995 is on a distinguished road
Hi friends
i'm doing a simulation of blood flow with fsi modelling
i want to do the simulation in 5 cycles.
the question is: how should i enter the number of time step to have several cycles? and where?
i thought for 1 seconds of simulation and time step of 0.01 i should enter the number of time step 500(5 cycles) and time step in fluent and end time and time step in coupling and the same in transient structural but at the end the solution goes for 1 cycle only and all the numbers were changed in fluent section.

can anybody point the problem and the way of solving? it would be so appreciated.

here is a picture of 3th cycle to help you realize what I'm saying better :

aiden_1995 is offline   Reply With Quote

Old   November 30, 2022, 00:59
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Quote:
for 1 seconds of simulation and time step of 0.01 i should enter the number of time step 500(5 cycles)
that is correct, you probably have problems with boundary conditions
aiden_1995 likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   November 30, 2022, 02:24
Default
  #3
Member
 
naji
Join Date: Nov 2022
Posts: 37
Rep Power: 3
aiden_1995 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
that is correct, you probably have problems with boundary conditions
thanks for your replay alexander,but i ustill don't realize
I'm using udfs for inlet and outlet velocity and pressure
how come? how does it affect the time step?
i don't want the fluent section to change,how can i fix this?
now i also tried to do it in another way but it's still changing
aiden_1995 is offline   Reply With Quote

Old   November 30, 2022, 02:31
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Quote:
solution goes for 1 cycle only and all the numbers were changed in fluent section.
so most likely, problem is in your UDF, where you didn't repeat profile correctly
show your UDF
when you are saying "all the numbers were changed" it's not clear what exactly you are talking about. The Graph you showed is not readable ( at least show first cycle (which is correct according to what you've said) and second (which is incorrect))
as you are using FSI - the shape of geometry suppose to change which should lead to change in flow,s o may be change you are talking about is normal. check it
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   November 30, 2022, 02:46
Default
  #5
Member
 
naji
Join Date: Nov 2022
Posts: 37
Rep Power: 3
aiden_1995 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
so most likely, problem is in your UDF, where you didn't repeat profile correctly
show your UDF
when you are saying "all the numbers were changed" it's not clear what exactly you are talking about. The Graph you showed is not readable ( at least show first cycle (which is correct according to what you've said) and second (which is incorrect))
as you are using FSI - the shape of geometry suppose to change which should lead to change in flow,s o may be change you are talking about is normal. check it
ok

--------------------------------------------------------------------------------------------------

i know that it makes only 1 graph per 1 solution running
the reason why I'm using more cycles is for the sake of "convergence"
i think they should repeat 5 times during the solution not be ready at first in the udf.am i right?

Last edited by aiden_1995; November 30, 2022 at 04:48.
aiden_1995 is offline   Reply With Quote

Old   November 30, 2022, 03:08
Default
  #6
Member
 
naji
Join Date: Nov 2022
Posts: 37
Rep Power: 3
aiden_1995 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
so most likely, problem is in your UDF, where you didn't repeat profile correctly
show your UDF
when you are saying "all the numbers were changed" it's not clear what exactly you are talking about. The Graph you showed is not readable ( at least show first cycle (which is correct according to what you've said) and second (which is incorrect))
as you are using FSI - the shape of geometry suppose to change which should lead to change in flow,s o may be change you are talking about is normal. check it
_________________________________
about the time step you were right-let me make it more clear by explaining on a picture:

this is my Fluent's time step setup after ending the solution:
"the number of time steps which i entered and was 500(100*5cycles)has changed to 1 and the time step which was 0.01 turned to 0.0099999..."
----------------------------------------------------------------------


----------------------------------------------------------------------

and i filled the rest of it for coupling and transient structural like what i mentioned before
aiden_1995 is offline   Reply With Quote

Old   November 30, 2022, 03:13
Default
  #7
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
as your simulation is transient it doesn't make sense to simulate several cycles to get converged simulation
increase number of iterations per time step, if you are not sure
check mass balance convergence (difference between in\out mass flow rates) for each iteration -> in perfect case it should converge for each timestep

however, if you want to simulate several cycles
add t = t%1; into your code for both profiles
Code:
real t = CURRENT_TIME;
t = t%1;
begin_f_loop(f, thread)
aiden_1995 likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
cycles, fsi, time step


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
Transient simulation in Fluent khaham FLUENT 13 March 15, 2016 08:18
Oscillations of force and flow rate within FSI simulation of biomedical valve jtwilson FLUENT 0 September 23, 2015 13:26
1way FSI simulation using ansys structural and Fluent mmkkeshavarzi FLUENT 0 August 5, 2015 10:49
Thermal Simulation using Multiphase VOF model in Fluent hari.poudyal47@gmail.com Fluent Multiphase 0 July 20, 2015 11:31
FSI : CFX or Fluent? icemaniac178 ANSYS 1 February 19, 2010 06:33


All times are GMT -4. The time now is 14:08.