|
[Sponsors] |
An error occurred after the time step was changed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 8, 2022, 03:34 |
An error occurred after the time step was changed
|
#1 |
New Member
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4 |
Hi,
Hello, my program was running normally when I adopted the adaptive time step, but when I changed it to a fixed time step, the program stopped running one step and the display speed exceeded N 61. My changes were to remove N 47 0.3 and add N 48 0 and N 49 0.5. The time interval is about 0.01-0.05 when the adaptive time step is adopted. The total running time is 80 seconds.I made the change in the hope of reducing the output data. Because my force output diagram is not very accurate, the attached diagram is as follows. Looking forward to hearing from you. |
|
May 9, 2022, 03:08 |
|
#2 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13 |
Hi Sun qi,
I think you are applying the wrong medicine to your problem. Using N 49 0.5 means a time step that is 10 times higher than the required time step when the courant number is satisfied with a factor of 0.3. Therefore, your simulation will crash with too high velocities (N 61 exceeded). This is how it is supposed to be. Your problem, if I understand correctly is that you want to reduce the output produced / printed out from the simulations. For the vtu output, use P 30 or P 35 to define how often you want the output. For .dat (text files) which print out spatial data (eg. wsfline) use P 55. For time series output (force, wave gauge), there is no point in restricting the output (you will get data that can't be plotted nicely) and there is no option to restrict this. The output is every time step of the simulation. I hope this solves your problem, which I think is to save disk space in runtime.
__________________
Arun X years with REEF3D |
|
May 9, 2022, 03:25 |
|
#3 | |
New Member
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4 |
Quote:
My data was exported from reef3D_6DOF_forces_0.dat in the REEF3D_CFD_6DOF file. You mean the amount of this data cannot be changed, right? Can't even change the time step to get better results? |
||
May 9, 2022, 08:32 |
|
#4 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13 |
For the file that you mention:
Yes, that is a time series, so cannot manually change the output. You can printout more data by changing the time step, but you have to decrease the time step size and not increase like you have done. The simulation will be slower, without much improvement in the results, in my opinion
__________________
Arun X years with REEF3D |
|
May 9, 2022, 09:09 |
|
#5 | |
New Member
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4 |
Quote:
|
||
May 10, 2022, 02:49 |
|
#6 |
Senior Member
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13 |
Something I forgot to mention, since you started with N 47 0.3, you still have room for improvement up to N 47 0.1.
I mostly use N 47 0.1. I have seen decent results with N 47 0.3 for wave propagation but have not thoroughly tested it. You can carry out a time step convergence study if you wish by varying the N 47 parameter- 0.3-0.2-0.1-0.05 etc.
__________________
Arun X years with REEF3D |
|
May 10, 2022, 03:15 |
|
#7 | |
New Member
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 04:13 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 18:28 |
p_rgh initial residual no change with different settings | manuc | OpenFOAM Running, Solving & CFD | 3 | June 26, 2018 15:53 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 13:40 |