|
[Sponsors] |
Significant changes in parameters after I resume FLUENT simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2019, 07:00 |
Significant changes in parameters after I resume FLUENT simulation
|
#1 |
Member
South Yorkshire
Join Date: May 2018
Posts: 33
Rep Power: 8 |
Hi,
I am running a simulation of a vibrating cylinder subjected to a constant flow rate. The model works fine and the cylinder moves as expected. I saved the simulation every 100 time-steps and I have problems when I resume it from the last saved time-step in a different computer. Basically, the scaled residuals increased drastically and most of the parameters that I am saving also increase significantly. From time step 14000 to 14001 Lift: from -0.02 to 0.45 Yplus: from 0.86 to 2.29 Drag: from 0.07 to 9.88 Due to this increment, eventually my model fails due to negative cell volume problem. I resume the simulation from Fluent going to File - import - case and data, and selecting the last saved time-step. Then, I copy the UDF with its corresponding folder "libgen" and just run the simulations. Any suggestions would be really appreciated. Regards |
|
June 17, 2019, 06:41 |
|
#2 |
Member
South Yorkshire
Join Date: May 2018
Posts: 33
Rep Power: 8 |
I have narrow it down to the UDF. It seems that my problem is almost the same as the one in this thread:
problem restarting dynamic mesh cases Specifically, the solution seems to be in this response: Quote:
Code:
for (i=0;i<3;i++) { cg[i]=DT_CG(dt)[i]; vcg[i] = DT_VEL_CG(dt)[i]; } /*Numerical methods*/ /*Numark-beta*/ real beta = 0.25; real gamma = 0.5; real term0 = (1/(beta*dtime*dtime))*(mass+ad_mass) + (gamma/(beta*dtime))*c; real term1 = (1/(beta*dtime))*(mass+ad_mass) + ((gamma/beta)-1)*c; real term2 = ((1/(2*beta))-1)*(mass+ad_mass) + dtime*((gamma/(2*beta))-1)*c; real Keffx = k + term0; real Reffx = fx*(water_depth/length) + term0*cg[0] + term1*vx + term2*ax; real Keffy = k + term0; real Reffy = fy*(water_depth/length) + term0*cg[1] + term1*vy + term2*ay; Message("Velocity: %f \n",vy); dx = Reffx/Keffx - cg[0]; dy = Reffy/Keffy - cg[1]; x += dx; y += dy; real vprev_x = vx; vx = (gamma/(beta*dtime))*dx + (1-(gamma/beta))*vx + dtime*(1-(gamma/(2*beta)))*ax; ax = (1/(beta*dtime*dtime))*dx - (1/(beta*dtime))*vprev_x - ((1/(2*beta))-1)*ax; real vprev_y = vy; vy = (gamma/(beta*dtime))*dy + (1-(gamma/beta))*vy + dtime*(1-(gamma/(2*beta)))*ay; ay = (1/(beta*dtime*dtime))*dy - (1/(beta*dtime))*vprev_y - ((1/(2*beta))-1)*ay; |
|
Tags |
fluent |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to resume a stopped simulation | Pallav | OpenFOAM Running, Solving & CFD | 29 | November 18, 2024 02:41 |
Results of an axisymmetric simulation in Fluent | ShimiSan | FLUENT | 0 | July 19, 2016 10:20 |
Acoustic Simulation in Fluent (Pre-defined sound source) | bassam693 | FLUENT | 1 | January 2, 2016 08:06 |
Resume Transient simulation | HMR | CFX | 1 | June 28, 2011 22:13 |
resume and run fluent for another timestep via a c | greg | FLUENT | 2 | June 30, 2005 06:01 |