|
[Sponsors] |
December 26, 2016, 11:10 |
dimensionedScalar parameters
|
#1 |
New Member
Khomenko Maxim
Join Date: Aug 2015
Posts: 18
Rep Power: 11 |
Hello!
I'm trying to change parameters of the case using pyFoam. Here is the part of my python script: Code:
for laserPower in [400,800,900]: print "laserPower:",laserPower case=orig.cloneCase("CASE_%f"%laserPower).name transport=ParsedParameterFile(path.join(case, "constant", "thermalProperties")) transport["laserPower"]=laserPower transport.writeFile() |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pro/E to ANSYS Parameterization Guide | Trues | ANSYS | 4 | April 18, 2018 06:52 |
How to modify Arrhenius rate parameters in Fluent ?? | Kashif123 | FLUENT | 0 | October 25, 2016 22:59 |
Parameters rhoSimpleFoam | marcus85 | OpenFOAM Pre-Processing | 0 | May 15, 2013 10:36 |
Turbulence model parameters and equations | Maximus91 | Main CFD Forum | 1 | October 24, 2012 14:20 |
Parameters for multigrid solver | HaZe | OpenFOAM Running, Solving & CFD | 3 | January 28, 2012 03:05 |