CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   build a controller (http://www.cfd-online.com/Forums/star-ccm/120369-build-controller.html)

wernsen July 5, 2013 05:37

build a controller
 
Hey guys,

I would like to build a controller which regulates a boundary condition. For this job I need a PI-Controller. To create the (p)ropotional part is no problem with reports and fieldfunctions. The (i)ntegral part however is quite confusing since I need some kind of variable which I can change its value.

v_new = v_old + something

Due to the fact that reports and fieldfunctions are read-only I stuck here. Actually I just need a read- and writable variable.

Any tips?

GM_XIII July 5, 2013 08:31

Cant you do it also with a field function? Does the field function admit something like:
Suppose F1 is the field function
$F1+ whatever

Good luck, i am also interested

wernsen July 5, 2013 09:27

nop unfortunately not. this was my first hope, but an error will be the result (self-referencing)

GM_XIII July 5, 2013 09:47

Quote:

Originally Posted by wernsen (Post 438006)
nop unfortunately not. this was my first hope, but an error will be the result (self-referencing)

Have you considered using a macro then?

wernsen July 8, 2013 03:28

Quote:

Originally Posted by GM_XIII (Post 438010)
Have you considered using a macro then?


yes but I thought / hoped that there will be an asier way


All times are GMT -4. The time now is 18:44.