1

Previous: Iteration output Up: Test case: Cavity Next: Data conversion

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Postprocessing

Previous: TCFD- Configuration File Up: TCFD-manual Next: CFD Processor command line
This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

TCFD\textregistered – Running in Terminal

Apart from the intuitive and interactive graphical user interface in ParaView (TCFD command), a preset TCFD workflow can be executed also in terminal. This allows further batch processing and automatization of the CFD calculations by embedding them in larger (e.g. blade design optimization) scripted workflows. The command-line utility used to execute TCFD setup is called CFDProcessor and can be used in the following way:

 

CFDProcessor -setup pump.tcfd -dir pump-case -allrun

 

This command would prepare an OpenFOAM-based calculation, in line with the settings present in the file pump.tcfd, write the calculation configuration into the directory pump-case, create the mesh, execute the solver and generate the same HTML report that is normally visible in ParaView. The report is stored in a separate subdirectory of the pump-case directory.

The same command can be used both in Linux and in Windows. In Windows, the command should be executed from the OpenFOAM-for-Windows (Cygwin) command line. In Linux, the OpenFOAM-in-Box environment7.1 needs to be sourced. Remote execution of CFD Processor over SSH is also supported. In that case, though, one should always forward X11 calls (ssh -X) to enable 3D processing of Turbo Blade Post renders, i.e. the blade-to-blade views and meridional averages. When those are not needed, simple non-forwarding session is sufficient.

 

NOTE: If there is a problem with terminal when it is not possible to write commands after starting midnight commander then it can be avoided by deleting last line in bash.bashrc file, which is in directory etc in TCFD installation directory, i.e., C:\TCFD\18.10\cygwin64\etc and manually sourcing TCFD after opening new terminal window by writing

 

source /etc/bash.bashrc.cfdsupport