Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
help with asseminit for remeshing
Posted 19 févr. 2011, 12:57 UTC−5 Microfluidics, Structural Mechanics Version 3.5a 3 Replies
Please login with a confirmed email address before reporting spam
Dear friends,
I 've posted two messages on this problem, but no one reply, perhaps because I did not make my questions clear.
Now I have pin pointed the segment where the problem arises.
I am simulating a fluid-structure interaction problem which requires remeshing. However, after solution of the problem and remesh the deformed structure, I found the displacement (u,v) of the solid structure was successfully mapped, while the veolity (ut,vt) is not.
After execution of the following code segments, I found init.ut contains only 0 values, although the values of fem0.sol.ut are all non-zero. Anyone knows where I am wrong?
For your kind help please.
Thanks
ZR
........................
fem.sol=femtime(fem, ...
'blocksize',1000, ...
'atol',{'0.02'}, ...
'solcomp',{'lm4','lm3','u2','p2','v2','v','u','lm6','lm5','y','x'}, ...
'outcomp',{'lm4','lm3','u2','p2','v2','v','u','lm6','lm5','y','x','Y','X','ut','vt'}, ...
'tlist',[0:deltat:endt], ...
'maxorder',2, ...
'tout','tlist', ...
'estrat',1, ...
'stopcond','minqual1_ale-0.1', ...
'uscale','none');
fem0=fem;
% update structure and generate new mesh
fem=mesh2geom(fem,'srcdata','deformed','frame','ale','destfield',{'geom','mesh'});
fem.mesh=meshinit(fem,'hgrad',1.15);
fem.xmesh=meshextend(fem);
% mapping current solution to extended mesh
init = asseminit(fem,'init',fem0.sol,'xmesh',fem0.xmesh,'framesrc','ale','T',endt);
-------------------------------------
I 've posted two messages on this problem, but no one reply, perhaps because I did not make my questions clear.
Now I have pin pointed the segment where the problem arises.
I am simulating a fluid-structure interaction problem which requires remeshing. However, after solution of the problem and remesh the deformed structure, I found the displacement (u,v) of the solid structure was successfully mapped, while the veolity (ut,vt) is not.
After execution of the following code segments, I found init.ut contains only 0 values, although the values of fem0.sol.ut are all non-zero. Anyone knows where I am wrong?
For your kind help please.
Thanks
ZR
........................
fem.sol=femtime(fem, ...
'blocksize',1000, ...
'atol',{'0.02'}, ...
'solcomp',{'lm4','lm3','u2','p2','v2','v','u','lm6','lm5','y','x'}, ...
'outcomp',{'lm4','lm3','u2','p2','v2','v','u','lm6','lm5','y','x','Y','X','ut','vt'}, ...
'tlist',[0:deltat:endt], ...
'maxorder',2, ...
'tout','tlist', ...
'estrat',1, ...
'stopcond','minqual1_ale-0.1', ...
'uscale','none');
fem0=fem;
% update structure and generate new mesh
fem=mesh2geom(fem,'srcdata','deformed','frame','ale','destfield',{'geom','mesh'});
fem.mesh=meshinit(fem,'hgrad',1.15);
fem.xmesh=meshextend(fem);
% mapping current solution to extended mesh
init = asseminit(fem,'init',fem0.sol,'xmesh',fem0.xmesh,'framesrc','ale','T',endt);
-------------------------------------
3 Replies Last Post 21 févr. 2011, 01:47 UTC−5