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

Imported data from txt file as initial value

$
0
0

Dear all,

I will need to import a thermal data generated by an independent simulation program, as txt file, in COMSOL model. To train myself, I have created a simple 2D COMSOL model (Attached: Import_txt_data.mph) where I solved a thermal distribution in a solid. I exported the thermal data, i.e. the Temperature distribution, in a speard sheet as txt file (Attached: Edep_test_2D.txt). Now, I tried to "re-import" the solution data to the same model (after disabling the previous boundary conditions). To do that, I have created an "interpolation" function, which I passed it (with two arguments) to an "Initial Values 2" as boundary condition. If no other boundary conditions added, I expect that by solving the model as it is, it must result in a thermal distribution identical to the feeded/imported data, right? This is not the case?

Would you please check the attached model and guid me where could be moy mistake?

Regards, Tamer


Viewing all articles
Browse latest Browse all 5773

Trending Articles



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