Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
can extract such kind of coordinations to build the model?
Posted 8 févr. 2012, 21:25 UTC−5 Heat Transfer & Phase Change, Materials, Parameters, Variables, & Functions 2 Replies
Please login with a confirmed email address before reporting spam
Hi, everyone,
I’m building a heat transfer model, so the dependent variable is the temperature T. During the model, I want to obtain the location or coordination (x,y) where the temperature is equal to a specified value, for instance, T=3425[K]. I actually known the contour plot in the result node, and I can extract the data into a .txt file (contain the x,y coordination and the corresponding value of contour). However, as far as I known, the kind of process “postprocessing” can’t be used in the model automatically (am I wrong?).
what I want is
1. obtain the data of the contour (x,y coordination);
2. do some calculation with or without Matlab using the data of the contour;
3. return value(s) after the above-mentioned calculation to the COMSOL to continue the study.
The data of the contour is supervised and extracted at each time-step, and after the specified calculation, the resultant value is imported into the COMSOL though function or something similar.
Is there any accessible way to do this?
Thanks in advance for your advice and guidance.
Best wishes to you and your family.
I’m building a heat transfer model, so the dependent variable is the temperature T. During the model, I want to obtain the location or coordination (x,y) where the temperature is equal to a specified value, for instance, T=3425[K]. I actually known the contour plot in the result node, and I can extract the data into a .txt file (contain the x,y coordination and the corresponding value of contour). However, as far as I known, the kind of process “postprocessing” can’t be used in the model automatically (am I wrong?).
what I want is
1. obtain the data of the contour (x,y coordination);
2. do some calculation with or without Matlab using the data of the contour;
3. return value(s) after the above-mentioned calculation to the COMSOL to continue the study.
The data of the contour is supervised and extracted at each time-step, and after the specified calculation, the resultant value is imported into the COMSOL though function or something similar.
Is there any accessible way to do this?
Thanks in advance for your advice and guidance.
Best wishes to you and your family.
2 Replies Last Post 3 nov. 2012, 00:10 UTC−4