|
[Sponsors] |
What is the command to start a batch file with UDF? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 20, 2017, 10:04 |
What is the command to start a batch file with UDF?
|
#1 |
Member
Join Date: Nov 2016
Posts: 73
Rep Power: 10 |
Hello everyone,
I have a coupled model (Fluent + Ansys Classic). I programmed a batch file so that I can start Ansys classic with this batchfile. But I would like to start this batch file at the end of the Fluent Simulation. My Source code is: DEFINE_ON_DEMAND(ansys_start) { FILE *fp; fp=fopen("startansys.bat","w"); fclose(fp); } Unfortunatley, this doesn't start the batch file. Also "execute on demand" doens't change anything. Can someone tell me how to start a batch file with Fluent? Best regards h0rst |
|
May 24, 2017, 04:21 |
|
#2 |
Member
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 10 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |