# ICEM CFD solver interface routine
#

proc actran_write_input {} {
    global confname actran_output_path
    global file_name

    set outfile $file_name(transfer_dir)/actran.dat

    set meshfile [domain_select $file_name(domains_dir) \
			"Select an unstructured mesh." unstruct 0]
	if {$meshfile == {}} return

    if {![dialog .actran "ACTRAN" \
	    "Please edit the following ACTRAN options." {
	{outfile -type path -title "Output file" -help "Output file"}
    }]} return
    
    set command "\"$actran_output_path\" \"$meshfile\" \"$outfile\""

    runcom $command ""
}
















