Problem of storing multiple values of integrals by loops
Dear ONELAB users,
I work on a problem where I have to store a large number of values of the numerical integrals of the magnetic field B (3 components because in 3D) in a .txt file. And to do that I can't find any solutions apart from looping all the areas where I want to calculate my integrals, as you can see below:
Actually, with this method we open the file B_gauche.txt we store the value of the integral and we close it, we repeat this process until we calculate all the integrals.
So, what I'm looking for is to open the file just once and store all the integral values I want there and close it.Is there a solution to do that?
You will find below how I defined my integral "intb" in the post-processing if necessary!
Thank you for your reply.