iterate from command line
Hi! For a VOF unsteady problem I can choose to: solve/iterate/ and enter, for example, time step = 0.1 s and number of time steps = 10.
Now, I would like to do this from the command line (to set up an inputfile and run simulation from batch mode). However, in the command line menu, if I chose solve/iterate this is a different command that will only ask for the number of iterations.
Question: What is the correct command line input for time step iteration?
for transient runs use solve/dual-time-iterate
Thanks for giving the correct command. However I still run into trouble. What I'm trying to do is write a simple inputfile as in Fluent User's Guide 1.3.1. It looks like this:
=== inputfile ===
solve/dual-time-iterate 9 20
When I run this sequence of commands from the command line in Fluent it works fine. However, when I run this inputfile from batch, the outputfile gives several errors, the first one being:
invalid command [
Error: eval: unbound variable
Error Object: 20
Number of iterations per time step 
What could be wrong?
i run PEM fuel cell in fluent but resive an error:
Error:floating point;invalid number
please help me!
I found a paper http://www.google.de/url?sa=t&source...a_Yutzd4RAyo4A (language: german) saying the command is:
Hope, it works for you too
Thank you so much~ That's what I'm looking for solving my prob
For the sake of posterity, you might have a problem if you write a script in windows and run it in unix/linux. The reason is that each os uses a different end of line character, so fluent will have some problem when it tries to read your script.
To see if this is your problem, you can open your script with a text editor (e.g., vi) and it will display some message at the bottom if it is in dos format. This took me an embarassingly long time to figure out, so hopefully I can save someone else the trouble!
The fix is to either
1) Write your script in linux with your favorite text editor, or...
2) Run the command dos2unix [input_file] to convert from dos format to unix/linux format.
]nvalid command [
Doing the conversion with dos2unix fixed it. I had been using windows based notepad to write my script and it ran fine on my windows based fluent setup, but once i uploaded it to our unix cluster, it gave issues. So thanks again.
|All times are GMT -4. The time now is 07:53.|