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.
How to manually operate on "fem.sol.u" data
Posted 04.06.2010, 15:51 GMT-4 2 Replies
Please login with a confirmed email address before reporting spam
I have a COMSOL model for heat-driven buoyant flow in a cavity. I exported my fem with 29k DOF, now I want to do post-processing manually for equations dependent on the fluid velocity and temperature. I can extract the 'u' data giving me the x-velocity of my fluid, but now have two questions:
1. I'm interested in three variables; u, v, and T. How do I access the y-velocity and temperature at my nodes? Is that already contained in the 29k solution points?
2. From the 29k data points in the fem structure, how do I differentiate my final solutions at the nodes so I can manually extract the data points for processing?
>> fem.sol
ans =
u: [29320x6 double]
reacf: [29320x6 double] (6906 stored)
plist: [10 100 1000 10000 100000 1000000]
pname: {'Ra'}
Six parameters were assigned to produce six solutions - six sequential increments of the Raleigh number.
Many thanks if you can shed any light
1. I'm interested in three variables; u, v, and T. How do I access the y-velocity and temperature at my nodes? Is that already contained in the 29k solution points?
2. From the 29k data points in the fem structure, how do I differentiate my final solutions at the nodes so I can manually extract the data points for processing?
>> fem.sol
ans =
u: [29320x6 double]
reacf: [29320x6 double] (6906 stored)
plist: [10 100 1000 10000 100000 1000000]
pname: {'Ra'}
Six parameters were assigned to produce six solutions - six sequential increments of the Raleigh number.
Many thanks if you can shed any light
2 Replies Last Post 08.06.2010, 15:16 GMT-4