Batch mode support in the WUFI Pro 7 Student Version?

All about WUFI Pro
Post Reply
LBJ
WUFI User
WUFI User
Posts: 2
Joined: Wed Jul 01, 2026 6:58 pm -1100

Batch mode support in the WUFI Pro 7 Student Version?

Post by LBJ »

Hi everyone,

I'm currently trying to automate WUFI simulations with Python for a parametric study.

I can launch WUFI from the command line without any problem, and my project opens correctly. However, the `-c` and `-s` options don't seem to do anything: WUFI opens the project, but I still have to start the simulation and save the results manually.

I'm using the "WUFI Pro 7 Student Version", so I was wondering if batch mode is actually supported with this license, or if it's only available in the commercial version.

Has anyone tried this before, or knows if it's possible?

Thanks a lot!
Christian Bludau
WUFI SupportTeam IBP
WUFI SupportTeam IBP
Posts: 1282
Joined: Tue Jul 04, 2006 10:08 pm -1100
Location: IBP Holzkirchen, the home of WUFI
Contact:

Re: Batch mode support in the WUFI Pro 7 Student Version?

Post by Christian Bludau »

Hi,
the help topic on the batch mode is not updated yet. We will do that in the upcoming release (WUFI Pro 7.2.3).
To find out, how the batchmode works, please call WUFI7-cli with -? parameter.
This will show you the parameters

Code: Select all

C:\Program Files\WUFI\WUFI7>WUFI7-cli.exe -?
Program [options]
options are
/? --help
	 print this help
/o ProjectFileName --open ProjectFileName
	 open a wufi project
	 the first option of this form is dominant
/c --process [comma separated list of case indices]
	 process the wufi project
	 several are possible; e.g. "/c1,2" "-c3"
/s --save
	 save the wufi project
/v --export
    export results
    several are possible; e.g. "/v1,0001011" "v3,001011"

For backward compatibility reasons following combinations are also possible
WUFI ProjectFileName [Options]

The name of the project file to be processed is specified with the parameter ProjectFileName. The following options can be used to control WUFI's actions:

-c  Start computing the active case
-C  Start computing all cases
-s  Save the results
-f  Export a film. The exported film file will be given the name %ProjectFileName%_%CaseIndex%.fid; the case name will become the film title.
-v  Export selected courses to an ASCII file. The selection is done with a bit mask (e.g. 0110001) which refers to the list of available courses in the dialog ASCII-Export. The number and the sequence of the courses displayed in this list depend on the number of layers and the number of monitoring positions in the project.

    The bit mask contains these courses in reverse order. That way, the total water content, which will usually be the focus of interest for the user, and which is always last in the list of available courses, is first in the bitmask and thus easy to select.

    Examples:
        -v1 exports the last course (the total water content).
        -v0000000001 exports the tenth-to-last course (what it contains depends on the number of layers and monitoring positions in the current project).
        -v1001 exports the last course (the total water content) and the fourth-to-last course.

    The name of the exported file will be %ProjectFileName%_%CaseIndex%.asc if no other file name has been specified. To specify a different name for the export file, open the dialog Outputs: ASCII-Export, enter the desired file name in the text box "Output file", close the dialog with "OK" and save the project.


The order of the options in the option list is arbitrary; the options may also be written /c etc.

Christian
Post Reply