how assign dataset in python calculator?
for making a field for cells like aspect(dataset) in python calculator, whats dataset and how to set it?
|
Hi Ehsan,
It took me a while to figure this one out. I ended up figuring it out after I followed this tutorial: http://www.paraview.org/Wiki/ParaVie...tiple_Datasets In conclusion, the "dataset" is "inputs[0]". Best regards, Bruno |
1 Attachment(s)
Hi Bruno,
thanks for your consideration, but the image doesn't show aspect ratios or area of cells. |
1 Attachment(s)
It only works on surfaces, as shown in the attached picture.
And it barely works on tetrahedral cells, because it can calculate on some cells, but not on others. |
thanks,then at first a plane have to be be separated by slice Filter? the cells are hexahedral.
|
Quick answer: Try the filters that extract faces and surfaces. I can't remember right now which ones they are.
All I know is that the slice filter will likely create triangles that don't exist in the original mesh. |
1 Attachment(s)
Hi Bruno,
in the attachment the image is somewhat dark,how to resolve the shading? |
1 Attachment(s)
You have to play with the light controls, which are accessible from the menu: Edit -> View Settings. The controls are shown in the attached image.
Try changing the values and hit the "Apply" button to see the result, without closing the dialogue box. |
dear Bruno it seems its related to Slice selection that is dark still,I changed light parameters but it didn't become brighter.how can exit it from selection mode?
|
Hi Ehsan,
Quote:
Quote:
Best regards, Bruno |
yes,
do you mention "selectable"? I unchecked it without any effect.:( |
1 Attachment(s)
From your description, only the "Show Plane" option seems to fit the description, as shown in attachment. Look for the mouse pointer in the "Properties" tab.
|
1 Attachment(s)
Bruno still its grey:(
which files I send so that could have a look in paraview?thanks. |
|
1 Attachment(s)
I saved it on x-axis line as vtk.
|
I think you're confusing the threads... this thread is about the problem with seeing the aspect or area in 2D or 3D.
|
Bruno you said me to save a VTK file,but its not possible without "plot over line",there isn't any VTK format if I want to use only "save data" :confused:
|
I forgot about the detail that the internal reader uses multi-block structures...
Apply the filter "Merge Blocks" to the "WR_inviscid.foam"; then with "MergeBlocks1" selected, save data to VTK. |
I did it.bz2 has 3MB volume and I'll mail it(maybe takes long)
|
Quote:
|
Hi Bruno
it didn't attached :( is there another way? |
Hi Ehsan,
Quote:
And if it does have the same problem, then compress this VTK file and see if it's small enough to email it to me. Best regards, Bruno |
1 Attachment(s)
Quote:
when the "eye" icon for WR_inviscid.foam is on,the fields aren't shown and the shape of case is grey,when its on the fields can be seen but hardly(its not bright) and althogh the file is 8(previous was 17)its bz2 compress is 4.3(complete case was 3.9!) -------------- its the image of when WR_inviscid.foam is off and mergeSliceVTK.VTK is on |
Hi Ehsan,
This is very strange indeed. Have you tried resetting the lighting options? Resetting the lighting is to click on the "Reset Lights" button, then on the "Apply" button, as shown in the attached image at post #8. Another question is: if you rotate the 3D geometry, is there any point of view that gives better visibility to any surface of the geometry? Best regards, Bruno |
1 Attachment(s)
Code:
This is very strange indeed. Have you tried resetting the lighting options? Quote:
I thought I had tested it before.I rotated it and back was bright! then I changed the direction of normal arrow to (0,0,-1) and it became bright! then this problem is resolved also! :) maybe the issue of dash in plot over lines could be solved easily too! |
Hi Bruno
which way to select a plane is there instead of slice so that not to make triangles? |
Quick answer: http://www.cfd-online.com/Forums/ope...tml#post372605 post #6
|
Hi Ehsan,
To complement the issue on having more light on the side of a dark geometry in ParaView... Quote:
In essence:
Bruno |
All times are GMT -4. The time now is 20:10. |