|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 ![]() |
Hi,
Is there anyway to use a formula along with variable expansions? This makes life much easier as I can set up a single setup file in the root and change it for different runs rather than changing similar parameters in multiple files. For example assume I want to sample multiple points as fractions of a channel length, now changing the channel length makes me update all the points, while if I had the luxury of formulas in variable expansion I could have simply had the points dictionary as: Code:
(1*$xm/10 0 0) (3*$xm/10 0 0) (5*$xm/10 0 0) (7*$xm/10 0 0) (9*$xm/10 0 0) |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
equationReader in combination with variable expansion | philippose | OpenFOAM Bugs | 5 | January 23, 2012 14:58 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |