|
[Sponsors] |
[General] Problems with streamlines for 2D porous media flow simulations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2014, 08:24 |
Problems with streamlines for 2D porous media flow simulations
|
#1 |
New Member
Sam
Join Date: Feb 2014
Posts: 3
Rep Power: 12 |
Howdy,
I am doing 2d simulations of pure water flow in porous media and am trying to use streamlines to get an idea of the flow paths. I feel like this would be a really neat application of the streamline functionality in paraview but, after a week of trying or so, I can't for the life of me figure out how to generate streamlines that make any sense. I have consulted previous threads in this forum about 2D streamlines but none of them seem to directly apply to the issues I'm having. I am using paraview 3.98 on a 64 bit linux machine, but have had similar issues when trying different versions (4.0, 3.12, 3.14). Generally, I have been using a high resolution line source in the 2D plane as the seed source. The main problem is that the streamlines are way too short (terminate prematurely or never even show up at all) or that they don't actually seem to follow the flow field in a meaningful way. I have experimented with adjusting the step sizes over several orders of magnitude and that only seems to make small differences. Same with the terminal velocity and the error tolerance. If I allow a greater number of steps, the lines will get longer but are not at all convincing to me in terms of actually following the 2d vector field. I have tried extracting a surface prior to trying to use the streamline filter, and also extracting points from the surface and trying to use these as the seed points when applying streamtracer with custom source filter. All to no avail. What am I doing wrong? I have made some files available for anyone whose interested (pore velocity liquid, which contains the vector field I'm interested in, and also fluid pressure just for reference). They can be accessed from dropbox here (couldn't attach them due to size restrictions): https://dl.dropboxusercontent.com/u/33358034/vtk.tar As you will see, it is an unstructured mesh, but I don't know why this should make a big difference. As an example, you can try with a line source between (-1000,-1000) and (-500,-1000) with the default settings and get an idea of why I'm not happy at all with the resulting streamlines. Again, playing with the step lengths doesn't seem to make a huge difference. What am I doing wrong? By the way, I've also tried to calculate the streamlines in Matlab but it is a major headache with my unstructured mesh (can't use the built-in stream2 function). Any help for this geologist turned modeler would be very appreciated! Thanks in advance, Sam |
|
February 7, 2014, 17:13 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sam and welcome to the forum!
Here is my diagnosis, step by step:
But keep in mind that by using the "Delaunay" filters, these are in fact only replacement meshes, since we don't have a good original mesh to work with Best regards, Bruno |
|
February 11, 2014, 06:13 |
|
#3 |
New Member
Sam
Join Date: Feb 2014
Posts: 3
Rep Power: 12 |
Bruno,
Thank you so much for your patience in investigating and responding! The streamlines look brilliant... I have another follow up question. How is it be possible to select one of the streamlines? I can inspect the streamline dataset via spreadsheet view and select points from it, but I can not easily select all the points that correpond to a single streamline. Afterwards, I would like to append temperature and fluid pressure to the streamline dataset, allowing me to extract the temperature/pressure sequence along a path. This is probably relatively straightforward, I must be doing something wrong... Thanks again, Sam |
|
February 11, 2014, 12:59 |
|
#4 |
New Member
Sam
Join Date: Feb 2014
Posts: 3
Rep Power: 12 |
I think I figured out how to select a certain stream line (Paraview treats the streamlines as cells, not objects) but still can't figure out how to AppendAttributes with the pore velocity vtks and the temperature and fluid pressure and then extract temperature/pressure along the streamline...
Here is a link to the vtks I'm working with if you want to try: https://dl.dropboxusercontent.com/u/33358034/vtk.tar This time the tar should work ;-) Thanks, Sam |
|
February 11, 2014, 15:32 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Sam,
Sorry, this time I don't have time to take a look into the files But I believe I know what steps you should take:
Best regards, Bruno |
|
Tags |
paraview, porous media, streamlines |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase flow in porous media and relative permeabilities | sirpolar | Fluent Multiphase | 1 | July 24, 2016 06:41 |
Flow through porous media near well-borne | I_Fedorov | FLUENT | 0 | October 29, 2014 16:05 |
How to model granular flow through porous media | Axius | FLUENT | 2 | August 7, 2014 11:34 |
spercritical fluid flow in porous media | cachen | FLUENT | 3 | November 10, 2007 03:20 |
Two phase flow in porous media | Madhavi Krishnan | FLUENT | 3 | June 6, 2005 06:52 |