Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

storing user defined variables values.

$
0
0

Hi. I'm working on a 3D model where i use many scalar spatial custom made variables (defined under the component1> definition node) during post procesing. Several of those variables are difined with general projections. In some postprocesing evaluations i use these varaibles inside an other general projections and my computer can't get that done. I asume it's because it needs compute the defined variable projection in every postprocesing projection evaluation step. To put an example, i can easily compute genrproj(T*U), beeing T the fluid tempreture and U fluid velocity, and I can easyly compute Ur predefined as U/genproj(U), but if i atempt to compute genproj(T*Ur) the computer get stuck during evaluation.

So i asume that a good solution wuould be to compute these predifined variables once and store its value in the stored solution with the tempreture field and the others dependent variables, but i haven't found a way to do this. This will also help me ploting predefined variables as they take a lot more time than the dependent variables to plot

Any ideas on how to do this? Thanks in advance,

Felipe


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>