for instance I'm running my CFD code with different mesh sizes. I want the name of my output file to be changed automatically with my variable for number of nodes; let's say "imax" that is equal to number “50”. it should be something like this :
open(44, file='Temperature-imax50.txt')
I want to use use both “variable name” and “value assigned to it” in my file name. Is there way to fix this? one way for other command's strings is to use <> marks, but it won't work here.