Recently, I’m trying to connect Gambit and Fluent with grasshopper to run CFD simulation. I learned much from Ladybug&Honeybee codes. Now I wanted to write a batch file to call the simulation software as you do in the “runDaylightAnalysis” or “runEnergySimulation” component. But I can not fully understand your codes.
batchStr = workingDrive + ‘\ncd\’ + folderName + ‘\n’ + EPDirectory + <br/> '\Epl-run ’ + fullPath + ’ ’ + fullPath + ’ idf ’ + epwFileAddress +
' EP N nolimit N N 0 Y'
Below is my code, which I imitate what you write. I think it still needs to be modified. Gambit is an execute programming, and I want to use it to run .jou file. I don’t know why two “fullPath” are needed.
batchStr = workingDrive + ‘\ncd\’ + folderName + ‘\n’ + GambitDirectory + <br/> '\gambit ’ + fullPath + ’ ’ + fullPath + ’ jou ’
Could you give me any suggestions? Thanks a lot. Looking forward for your reply.