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

Unable to Run the SFLOW Tutorial in the Manual

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kamath

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2021, 11:06
Default Unable to Run the SFLOW Tutorial in the Manual
  #1
New Member
 
Boyuan Yu
Join Date: Jun 2021
Posts: 4
Rep Power: 5
MGYBY is on a distinguished road
Hello all,


As a beginner of Reef3D, when I was trying to run the SFLOW tutorial case given the user manual (2D linear waves in section 7), the terminal print out stops at "read ctrl" and it seems there is no simulation output. One possible reason for that phenomenon is that some required input variables are not given, but I do not know where the error is.



Attached are the control.txt and ctrl.txt files. I would be rather thankful if you could answer my question.


Thanks in advance.


Geoffrey
Attached Files
File Type: txt control.txt (341 Bytes, 12 views)
File Type: txt ctrl.txt (656 Bytes, 11 views)
MGYBY is offline   Reply With Quote

Old   June 22, 2021, 19:44
Default
  #2
New Member
 
Will
Join Date: May 2021
Posts: 11
Rep Power: 5
wrossell is on a distinguished road
Geoffrey,

I am also a novice with the REEF3D software, so please do not consider this an exhaustive answer to your problem, but I notice in looking at your input files that the M 10 input is not consistent between the control.txt and ctrl.txt files. These numbers must be the same, and then you must indicate the same when calling the executable.

However, after making this change myself and running REEF3D, I am experiencing the same issues where the simulation seems to be stalled for some reason.
wrossell is offline   Reply With Quote

Old   June 23, 2021, 03:55
Default
  #3
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14
kamath is on a distinguished road
Hi Geoffrey,
This results from the capital letters in the comments. The program looks for a command sequence as soon as a capital letter is encountered. Removing them will solve the problem.
At some stage it was possible to include capital letters in the comments, but it looks like this not working now.

Also due to a recent change made to the code for the commands B 91, B 93 and B 96, these commands take only 2 inputs in place of three (please have a look at the manual for these)
MGYBY likes this.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   June 23, 2021, 10:05
Default
  #4
New Member
 
Boyuan Yu
Join Date: Jun 2021
Posts: 4
Rep Power: 5
MGYBY is on a distinguished road
Hello kamath,

Thanks for the advice.
MGYBY is offline   Reply With Quote

Old   June 23, 2021, 10:06
Default
  #5
New Member
 
Boyuan Yu
Join Date: Jun 2021
Posts: 4
Rep Power: 5
MGYBY is on a distinguished road
Hello wrossell,

Thanks for the reply.
MGYBY is offline   Reply With Quote

Old   June 26, 2021, 04:23
Default
  #6
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Working now for you @MGYBY?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   June 26, 2021, 10:51
Default
  #7
New Member
 
Boyuan Yu
Join Date: Jun 2021
Posts: 4
Rep Power: 5
MGYBY is on a distinguished road
Yes, I revised the code according to Kamath's advice and the wave generation and propagation seems to be reasonably reproduced now.
MGYBY is offline   Reply With Quote

Old   June 26, 2021, 12:56
Default
  #8
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Great to hear!
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda 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
sonicFoam unable to run simulation SMallin OpenFOAM Running, Solving & CFD 0 February 21, 2020 16:37
Unable to run the case parallel using foam-extend in the cluster farahaqilah OpenFOAM 0 July 28, 2016 00:49
Unable to run parallel cases with OF 2.3.x in openSUSE 12.3 zfaraday OpenFOAM Running, Solving & CFD 3 February 2, 2015 21:42
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Cannot run Tutorial 11, please help Harendra Siemens 1 November 21, 2005 07:14


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