CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLOW-3D (https://www.cfd-online.com/Forums/flow-3d/)
-   -   how to draw a contour plot in flowsight? (https://www.cfd-online.com/Forums/flow-3d/198570-how-draw-contour-plot-flowsight.html)

hamidciv February 11, 2018 01:43

how to draw a contour plot in flowsight?
 
Hi Dear users;

i've simulated the sediment scour due to horizontal jet, I want to draw the bed profile contours over time in 2D&3D view.

whether flowsight is capable to do this? I also know that Tecplot software can do this but unfortunately, I have never worked with it so far.

I would greatly appreciate it if you could help me!

best regards
hamid

hamidciv February 13, 2018 15:33

Can anyone help me?

i would really appreciate any feedback you can give me.

thanks

Harold. February 14, 2018 18:16

You can do that using FlowSight.

Once you have your results files (flsgrf.*) open it in FlowSight and follow the next steps:

1. Open the results file with FlowSight:

File > Open... (flsgrf.*)
Choose Selected timeline in the Timeline options (Is necessary to have results file with Selected Data, See Output Tab in FLOW-3D GUI)

2. Add Packed Sediment Geometry (In your case is bed component)

Choose the component you want to see (This is the packed sediment component) on the Geometry List panel checkbox.
If you canīt see the Geometry List panel just go to: Window > Toolbars/panels > Geometry List
You can add color as a constant (constant color) or the best option is to add Packed Sediment Net Height Change as a color to the component:
In the Geometry List panel go to: Geometry List > Color by > Packed sediment Net Height Change Selected
Now you can see the whole packed geometry (bed) in 3D varying according to your scour or deposition results
I recommend you to Modify the color scale. Click-right on Color bar > Modify... > Edit Palette > Editor Scale and choose Earth

3. Adding Fluid Surface:

You now can also include the Fluid Isosurface. Just go to Isosurface List panel > Choose Fluid Selected under Surface column
This Isosurface could be colored by Velocities: Isosurface List panel > Color by > Velocity Selected or whatever avaliable variable
I recommend you to add transparency to the Fluid Isosurface in order to see clearly both fluid and bed. click-right on Isosurface > Transparency

4. Creating 2D - clips:

This is good way to visualize, in a 2D plane, any plane that you want in order to plot packed sediment component (bed) in time.
Go to: Create > 2D Clips... Choose between X/Y/Z or Arbitrary planes. In color by > Fluid Fraction Selected
Click on check box Show advanced > Blanking > Variable Fluid Fraction Selected and click on Create button
You need to Hide, previously, the Isosurfaces, Geometry or anything that you have made before or to assign an adequate Transparency in order to see the new 2D Clip just created.

5. Creating 3D - Clips

Is quite similar to 2D clips with its corresponding variables.


I hope these steps help you, sometimes is dificult to explain using only words. If you have any questions please let me know.

And please share with the community an image or video of your post-processed simulation!

Good luck!

hamidciv February 16, 2018 13:34

1 Attachment(s)
Dear Harold;

i really appreiate you for your detailed response & time. I've attached an image from my output results as you wanted.

with the best wishes
hamid

hamidciv May 3, 2018 12:15

1 Attachment(s)
Hi Dear experts/users

I've been trying to show the simulated results as shown in the figure below. but unfortunately, I was not successful so far. is flow3d's post processor or flowsight can do this?

I would greatly appreciate it if you kindly give me some feedback on this.


best regards
hamid

Harold. May 5, 2018 22:07

5 Attachment(s)
These are the 5 following images.

Attachment 63185

Attachment 63186

Attachment 63187

Attachment 63188

Attachment 63189

Harold. May 5, 2018 22:22

5 Attachment(s)
Dear Hamid, I ran a sample simulation to explain how you can set it up the results that you want to show:

FLOW-3Dīs Post-Processor:

You can do it using FLOW-3Dīs post-processor:

1. Analyze > 2-D > Contour type > B/W Contour Lines
2. Analyze > 2-D > Contour type > Number of contour (Set an adequate number)
3. Analyze > 2-D > Data Source > Selected
4. Analyze > 2-D > Limits > Z: (You have to select the adequate Z plane in order to see the right plane)
5. Click on Render

Please see the attached image: "Scour - Contours Setup 2D" and "Scour - B&W Contours".

Attachment 63190

Attachment 63191


You can also select Shaded Contours:

1. Analyze > 2-D > Contour type > Color Shaded with Contour Lines

Please see the atached image: "Scour - Shaded and B&W Contours"

Attachment 63192



FLOWSIGHT:

You can also use FlowSight to obtain several critical data for this kind of simulations. The following images shows the steps to setup a different ways to obtain data or visualization:

1. You can only show the final geometry after the scour or sedimentation process. There is not variable colored.

Attached image: "Scour - FlowSight - Only Final Geometry (Bed)".

Attachment 63193


2. Net Height Change on the bed surface:

Attached image: "Scour - FlowSight - Net Height Change (Bed)".

Attachment 63194


3. You can also show contours lines in FlowSIght, using the Palette Type: Banded, Right Click-on the color bar, then modify and set the adequate values.

Attached image: "Scour - FlowSight - Net Height Change (Bed) Banded - Gray"

Attached image: "Scour - FlowSight - Net Height Change (Bed) Banded - Modify Menu"

4. Interactive Probe to get data information for bed level on that point.

FlowSight - Main Menu Bar: Query > Interactive Probe

Attached image: "Scour - FlowSight - Net Height Change (Bed) Banded"

5. You can also analize the physical behaviour using Streamlines, in this case is showed a Line as an emisor of those streamlines.

FlowSight - Main Menu Bar: Create > Streamlines...

Attached image: "Scour - FlowSight - Net Height Change (Bed) + Streamlines"

Attached image: "Scour - Net Height Change (Bed) + Streamlines"


Note: You can see the other images in the next Post, because of number of attached files restriction on this forum.


I hope this info help you, if you have questions please write a post using images, just like this one.

And please share with the community an image or video of your post-processed simulation! :)

hamidciv May 6, 2018 11:37

Dear Harold,

I really appreciate your clear and accurate guidance. that was exactly what I need.

Kind regards;
hamid

hamidciv May 7, 2018 03:02

2 Attachment(s)
Dear Harold, thanks a lot for your very thorough explanation.

I've another favour to ask you. I want to show the generated scour hole in profile view and plan view (in terms of quantity) to compare them against experimental values. i've attached the simulated results in different views.

would you please advise me how to extract the following results in the form of quantity(value)?

I wish you all the best.
hamid

Harold. May 7, 2018 21:36

5 Attachment(s)
Dear Hamid:

You can use the measure interactive tool in FlowSight:

For a better visualization you can use 2D and 3D clips to see the plane/profile that you want.


Attachment 63247


Attachment 63245


Attachment 63244


Or you can extract data, point by point (as available), using a graph plot:

Go to: Create > Probe... > Line probe

So you can show a graph fo the Net Heigh Change of bed vs. distance (for a determined time). That distance is from the begining of the line vector (black) until the end (head-cone) of the line vector.


Attachment 63248


I think this last option is the one that you wanted, am I right?

You can add your experimental results on this graph using a csv or txt file, following the text rules which are located in the documentation. Then you can compare it point by point in the same graph.

If you are comparing whit experimental data you have to be sure you set the right parameters for shield number, diameter, density, the right bed transport equation (according with the spectre/range of applicability) etc. You have to obtain all these data from actual/real world!

You can also export a STL file (CAD) with the new (calculated) bed/surface geometry, including scour or depositions; then you can compare it with your experimental results using a CAD software.


Attachment 63246


Don't forget to share your results with the community!

Regards,

hamidciv May 9, 2018 02:52

Dear Harold, Thank you for all your help!

yes, you are quite correct, the profile view of the scour hole/deposition can be obtained simply as you mentioned above. but unfortunately, I did not understand how can I extract the plan view of scour hole as a set of point outputs?

best of luck
hamid

Harold. May 9, 2018 19:33

1 Attachment(s)
Dear Hamid:

You have to follow the next steps:

Go to: Create > Probe... (click-on)

Select case: your results case

Then select the Line probe option in the drop-down list

Choose Select option in the Line probe setup field

Now you can see a black line vector over the geometry, this vector will extract the data point by point along its own definition, in other words: the initial part of the line extract the zero position in the graph and the head of the line will extract the data of the end (distance: x axis).

This line vector should be in horizontal position in order to extract the right data point by point. Please see the image below. Z1=0.3 and Z2=0.3


Attachment 63292


If you need to modify the direction of the line vector, you can use the Tool:line panel to edit/modify its position. There you can rotate, move, align etc. Please see the image above to see how to access this Tool.

You can select Use Mesh option to extract the data based on the mesh that you set up in FLOW-3D.

So, now you have to select in the Variable Name box the variable that you want to extract its values, in this case is Packed Sediment Net Heigh Change Selected. You will notice a blue circle/dot in the left side of the variable name which indicates that this variable is already selected and ready to plot.

And finally you need to push the New plot button located in the Add to field.

I hope these instructions are helpful.

If you have problems with this, please share an image with your doubts.

Regards,

hamidciv May 10, 2018 04:48

2 Attachment(s)
Dear Harold, thanks for your attention & quick response!

I'm sorry if I did not make my intention clear enough. based on what you mentioned in the recent post and before, the probe feature can only be used for bathymetry along the line which we define it. I want to show the perimeter of the generated scour hole as highlighted (red colour) in the attached figure.

lately, i've encountered a strange problem that I wanted to kindly ask you. I've extracted the deposition height value using 2D clips & probe methods, and the results were different from each other as you can see in the attached picture. this made me very confused.


I'd really appreciate it if you could advise me on my probelms.

best regards,
hamid

Harold. May 12, 2018 20:27

5 Attachment(s)
Dear Hamid:

Please see the post that I made before (5 May - Post #6 and #7), in that post I shared some images showing the plane view contours lines using both FLOW-3D Post-processor and FlowSight, there you can find their value using every plane in Z or using Interactive Probes and Banded Palette in FlowSight.

Attachment 63357


These are the normal ways to compare the perimeter of the scour-hole (plan view), so you can put this image over your experimental results using a right scale factor.

Other way is to use a CAD software to compare both numerical and experimental results; you can do this generating a STL file (CAD including final bed geometry) from FLOW-3D Post-processor (Please see 5 of May post) or using FlowSight.

I guess that you want to plot the contour lines (perimeter) in a graph (I think the only reason for this is because you have the experimental data in a text file), so other thing you can do is extracting the data points that you need into a text file (please see the image below). In this case you can get every point of the results according the Limits that you set in X,Y, Z and Time.

Attachment 63354


Regarding the max/min values in FlowSight, you have to be sure you are plotting the same plane (2D Clip) - line vector probe, you have to select the right plane because is a 3D proble and there are a lot of max/min points. (Please see the image below)

Attachment 63356


Another thing you have to set is the min/max for the current viewpot, you have to set the color bar with the current information, for this right click-on the color bar to open the menu and set the values for the current viewport, in the next image you can see how to open this menu.

Attachment 63355


I also have an observation about the last image you have shared, I personally don't think this is a good way to visualize the Net Height Change of the bed because you colored the fluid and not the component (bed), and the component is the one that is actually changing, so for me it makes more sense to set color (Net Height Change) to the component not to the fluid. The next image shows what I am saying. Note: The last image (Scour - 2D Clip Data Probe Min Max) was set according your image just to let you know how to set the min/max value, but this is not the best option to visualize like I said before.

Attachment 63353


I hope this works for you.

If you still have problems to visualize correctly please share an image.

Cheers!

hamidciv May 13, 2018 15:43

1 Attachment(s)
Dear Harold, thanks a lot for your consideration & time!

I've some questions/doubts regarding what you mentioned in the previous post as follows:

1- I've set the min/max to the current viewport as you pointed out, and the problem was solved.

2- I would like to know your opinion about the best way to extract the Net Height Change of the bed. I think the probe method can be suitable to do this. if I'm wrong, please correct me. I've been searching for finding the most accurate way to extract this parameter for a long time.

3-unfortunately, one of my problems has not been solved yet. I want to extract the perimeter of the generated scour hole in longitudinal and transverse coordinates. To clarify the issue, I've shown what I mean in the attached picture.

All the best,
hamid

hamidciv May 31, 2018 11:09

Hi Dear experts,

can somebody help me with this problem? I want to extract the perimeter of the generated scour hole as shown above.

kind regards
hamid

Nurul Iffah April 1, 2020 22:11

how to plot streamlines?
 
hello everyone, I would like to ask how to plot streamline in flowsight? can anybody help me?

Eng Brazil Flow 3D Adilar June 9, 2020 23:39

How to created streamlines plot in flow3d
 
In this video as tutorial how to created streamlines in flow3d flowsight https://www.youtube.com/watch?v=u8fj...ature=youtu.be


All times are GMT -4. The time now is 17:40.