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.

Streamline Plot

Please login with a confirmed email address before reporting spam

Hi everybody,
pleas help with an postprocessing issue:
I set up a conjugate heat transfer model, the model solves successfully.
If I want to view the 3D-velocity field as a stremline plot I run into trouble:
A start point controlled plot with 20 startpoints gives me two visible streamlines, 200 startpoints give
a few more, but there are always 90% missing.
If I switch to any other plot mode, e.g. "uniform density" I get an error message from streamplot.
I have found something similar as a bug report, but this was claimed to be fixed with the first 4.0 hotfix.
I am using 4.0a though, also an ever later release.
Any hints here?

Thanks!

6 Replies Last Post 22 sept. 2010, 01:42 UTC−4
Zoran Vidakovic, COMSOL COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 juil. 2010, 03:46 UTC−4
Hi Markus

Can you post some screenshots or your model here in order to see the problem?
If the file size is too big (>5MB) please create a new simple model from scratch and try to reproduce this issue and send it to me.

Best,
Zoran
Hi Markus Can you post some screenshots or your model here in order to see the problem? If the file size is too big (>5MB) please create a new simple model from scratch and try to reproduce this issue and send it to me. Best, Zoran

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 juil. 2010, 07:52 UTC−4
Hi Zoran,

thanks for your reply.
I have attached a screenshot of the situation. The fluid volume (air) fills all of the enclosure
and this is what I get for 20 startpoint-controlled streamlines.
Best Markus
Hi Zoran, thanks for your reply. I have attached a screenshot of the situation. The fluid volume (air) fills all of the enclosure and this is what I get for 20 startpoint-controlled streamlines. Best Markus


Zoran Vidakovic, COMSOL COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 juil. 2010, 08:15 UTC−4
Interesting.

What are your settings of streamline?

Try another positioning method "Uniform density" and chose an appropriate "Separating distance" (see attached figure).

Zoran
Interesting. What are your settings of streamline? Try another positioning method "Uniform density" and chose an appropriate "Separating distance" (see attached figure). Zoran


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 juil. 2010, 09:00 UTC−4
Hi,

thanks again for your quick reply.
I have tried the "seperating distance" and it gives somewhat less awkward results but still looks strange.
If I try to start the streamlines from a useful location (e.g. some inlet boundary) using coordinate
ranges, neither the number of resulting lines nor the starting coords seem to be correct. (See pics)
BTW: This is already 4.0.0.933

Best
Markus
Hi, thanks again for your quick reply. I have tried the "seperating distance" and it gives somewhat less awkward results but still looks strange. If I try to start the streamlines from a useful location (e.g. some inlet boundary) using coordinate ranges, neither the number of resulting lines nor the starting coords seem to be correct. (See pics) BTW: This is already 4.0.0.933 Best Markus


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 sept. 2010, 01:42 UTC−4
I ran into a similar problem when I was modeling a fluids problems as well. I had what looked like a reasonably good velocity magnitude sectional plots, but then when I tried the streamline a got some segments and only a few lines going through, even though I used 200 startpoints. I refined the mesh and got much better results. I think the velocity field was not accurately defined throughout the volume using my original mesh, so the streamlines were not truly continuous. So maybe try to crank up your mesh density and see how it goes.

Best,
Mike
I ran into a similar problem when I was modeling a fluids problems as well. I had what looked like a reasonably good velocity magnitude sectional plots, but then when I tried the streamline a got some segments and only a few lines going through, even though I used 200 startpoints. I refined the mesh and got much better results. I think the velocity field was not accurately defined throughout the volume using my original mesh, so the streamlines were not truly continuous. So maybe try to crank up your mesh density and see how it goes. Best, Mike

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 sept. 2010, 01:42 UTC−4
I ran into a similar problem when I was modeling a fluids problems as well. I had what looked like a reasonably good velocity magnitude sectional plots, but then when I tried the streamline a got some segments and only a few lines going through, even though I used 200 startpoints. I refined the mesh and got much better results. I think the velocity field was not accurately defined throughout the volume using my original mesh, so the streamlines were not truly continuous. So maybe try to crank up your mesh density and see how it goes.

Best,
Mike
I ran into a similar problem when I was modeling a fluids problems as well. I had what looked like a reasonably good velocity magnitude sectional plots, but then when I tried the streamline a got some segments and only a few lines going through, even though I used 200 startpoints. I refined the mesh and got much better results. I think the velocity field was not accurately defined throughout the volume using my original mesh, so the streamlines were not truly continuous. So maybe try to crank up your mesh density and see how it goes. Best, Mike

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.