question

Sri_vikas K avatar image
0 Likes"
Sri_vikas K asked Anutt K commented

Fluid Pipe Flow rate not changing

Hi community,

In my model I am trying change the Pipe flow rate (input flow rate) with process flow custom code, I am changing the value of flow rate with an IF condition, but the value is not changing in the pipe properties window. Is this a bug??

Set Pipe Flow Rate.fsm

Thankyou

FlexSim 23.0.14
fluidpipe
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Anutt K avatar image
0 Likes"
Anutt K answered Anutt K commented

1709699802632.png

You need to change from getvarnum to setvarnum.

set-pipe-flow-rate.fsm


1709699802632.png (150.3 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sri_vikas K avatar image Sri_vikas K commented ·

Hey @Anutt K Thanks, I also worked out in another way. I am attaching the model here for any reference.

Set Pipe Flow Rate.fsm

0 Likes 0 ·
Anutt K avatar image Anutt K Sri_vikas K commented ·

Great.

0 Likes 0 ·