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

An error occurred after the time step was changed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2022, 03:34
Default An error occurred after the time step was changed
  #1
New Member
 
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4
Sun qi is on a distinguished road
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.
Attached Images
File Type: jpg 1.jpg (36.4 KB, 13 views)
Sun qi is offline   Reply With Quote

Old   May 9, 2022, 03:08
Default
  #2
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
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
kamath is offline   Reply With Quote

Old   May 9, 2022, 03:25
Default
  #3
New Member
 
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4
Sun qi is on a distinguished road
Quote:
Originally Posted by kamath View Post
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.
I am very glad to receive your suggestion. My understanding is as follows.
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?
Sun qi is offline   Reply With Quote

Old   May 9, 2022, 08:32
Default
  #4
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
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
kamath is offline   Reply With Quote

Old   May 9, 2022, 09:09
Default
  #5
New Member
 
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4
Sun qi is on a distinguished road
Quote:
Originally Posted by kamath View Post
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
I see. Thank you for your help
Sun qi is offline   Reply With Quote

Old   May 10, 2022, 02:49
Default
  #6
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 13
kamath is on a distinguished road
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
kamath is offline   Reply With Quote

Old   May 10, 2022, 03:15
Default
  #7
New Member
 
Sun
Join Date: Apr 2022
Posts: 12
Rep Power: 4
Sun qi is on a distinguished road
Quote:
Originally Posted by kamath View Post
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.
Ok, I understand what you mean, and I will try your proposal.
Sun qi is offline   Reply With Quote

Reply


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
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


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