|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
JSousa
Join Date: Jun 2018
Posts: 2
Rep Power: 0 ![]() |
Hello,
First of all i must say i'm newbie to qt and openfoam. I'm developing an application that runs OpenFoam (a c++ library) behind. I'm trying to call a solver from that library by pressing a pushButton and using qprocess as follows: //...............................................// void MainWindow: ![]() { QProcess myProcess; myProcess.start("icoFoam -case /home/jvrs/ProjetosQT/Aplicação_Beta/SimulationData/NewCases/123"); myProcess.waitForFinished(); } //.................................................. .......// If i type the entire command "icoFoam -case /home/jvrs/ProjetosQT/Aplicação_Beta/SimulationData/NewCases/123" in the command line it runs perfectly. If i run it on qt through qprocess it doens't do anything. I would appreciate if anyone could help me with this problem. Regards! |
|
![]() |
![]() |
![]() |
Tags |
openfoam, qprocess, run, run-case, solver |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error running compiled solver of fireFoam and conjugate heat transfer solver | charles4allme | OpenFOAM Running, Solving & CFD | 2 | April 26, 2019 07:58 |
Error while running new solver phaseChangeHeatDyMFoam | sabrinacarson | OpenFOAM Running, Solving & CFD | 4 | July 10, 2018 08:28 |
New solver not running in loop. | silviliril | OpenFOAM Running, Solving & CFD | 2 | May 21, 2018 09:55 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Error Message when running solver | Jiang | CFX | 4 | August 12, 2013 14:37 |