|
[Sponsors] |
September 3, 2013, 11:11 |
|
#21 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi again
I used Calculator for creating fields with new names but it seems it can be possible to make only one field in this way and previous fields disappear,how can solve this problem to have more fields with new different names like p -> p_KE_lastCycle?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 3, 2013, 17:40 |
|
#22 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
Anyway, it's very simple: when the "Calculator" filter is applied to an item on the "Pipeline Browser", it will add a new field of the desired type, with the name we request it to use. More specifically, it will only operate on "Cell Data" or "Point Data", not both at the same time. But it will still preserve all original fields. Attached are 3 images, which help illustrate the following steps:
edit: I forgot to answer the first question: It's a filter! You can use it whenever you want, wherever you see that it's best, quickest, or even more practical to use it!
__________________
Last edited by wyldckat; September 3, 2013 at 17:41. Reason: see "edit:" |
|||
September 3, 2013, 17:49 |
|
#23 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi Bruno
thanks,but I passed from this barrier this evening! I made VTK's files with new names,but ther is a problem in images in extremes of x-dimension.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 5, 2013, 11:48 |
|
#24 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Bruno
I found out by accident that it is simply possible by one click on the field color box in line series and we can edit Legend Name directly.it was no need to use various calculator and making new fields at all.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 6, 2013, 11:35 |
|
#25 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
now I found out that generating new fields for high number of graphs is better(less time consumable) than change Legend names for each figure separately
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 7, 2013, 04:49 |
|
#26 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
Quote:
Quote:
For starters, what do you mean by: Quote:
Bruno
__________________
|
||||
September 7, 2013, 07:46 |
|
#27 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
I wanted to plot three graphs of three cases in one plotting,for example in time1 I want to plot pressure versus x,and in time2 till time 5( for all 3 cases in each time) ,then its easier to define a field with a name for all times rather than editing legends one by one for each times(p-inviscid,p-KO,p-KE for time1,again p-inviscid,p-KO,p-PE for time 2,...).
only I select appropriate fields with favorable names. ----------- its an instance graph,maybe for fewer data's changing legends be better.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. Last edited by wyldckat; September 9, 2013 at 15:03. |
|
September 9, 2013, 06:47 |
|
#28 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
why can't plot dashed lines?
no change occurs when I select one of dashes in the list and the lines are only continuous.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 9, 2013, 15:09 |
|
#29 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
Seriously, step-by-step of what you've done and/or example data would come in handy for reproducing the same error. Because as shown in attachment, I had absolutely no problem in changing to dashes. Best regards, Bruno
__________________
|
|
September 9, 2013, 15:36 |
|
#30 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi Bruno
I think its because of VTK format. could you have a look into it? thanks a lot.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 9, 2013, 15:46 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
I had absolutely no problem plotting with dashes, as shown in the attached image:
What steps do you do with the VTK file you provided and which lead to not showing the dashed lines?
__________________
|
|
September 9, 2013, 17:11 |
|
#32 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
I did what you said but it doesn't work for me
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 9, 2013, 17:22 |
|
#33 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Strange... some setting in ParaView must have gotten messed up. Try running ParaView like this:
Code:
paraview -dr Open the VTK file and plot the data once again and try again to change to the dashed lines. If this works, then close ParaView and remove this file: Code:
~/.config/ParaView/ParaView3.12.0.ini If this doesn't work... then I don't know what the problem is
__________________
|
|
September 9, 2013, 17:46 |
|
#34 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Bruno it didn't plot dash lines,not important,I've ended plotting with paraview only thought may improve the appearances but not important at all,thanks for considerations and efforts for help.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 9, 2013, 18:00 |
|
#35 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
dear Bruno I noticed now that its not related to VTK files, the ordinary "plot over line" has the same issue as attached,there is no any idea?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 9, 2013, 18:31 |
|
#36 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
I don't know. I can only suspect that it's either:
__________________
|
|
September 9, 2013, 18:44 |
|
#37 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
its also a similar issue:
http://paraview.org/Bug/view.php?id=12009 it seems such issues takes place by not known reasons!maybe by chance!
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 9, 2013, 18:54 |
|
#38 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
I did it without change,maybe the data are very many and dashes are too small.
Code:
~/.config/ParaView/ParaView3.12.0.ini
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
December 1, 2013, 08:18 |
|
#39 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
hi dear all,
i simulate the flow over an airfoil with 3 turbulence model, i extract the VTK file of each of them separately, i plot the Cp, for each of them separately,but i want plot the pressure curve of three of them with together in one plot and then comparision their results each other and also with experiment data,what should i do? can anybody help me??? thank you very much. |
|
December 1, 2013, 09:32 |
|
#40 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings s.m,
I guess that this thread is a bit confusing, but most of the necessary information is already present. I'll try to list the steps you need to perform:
Bruno
__________________
Last edited by wyldckat; December 1, 2013 at 12:36. Reason: see "edit:" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
plot along a circle | pcn90 | FLUENT | 2 | May 7, 2017 07:41 |
[OpenFOAM] Convergence validation with Plot Over Time | jam68 | ParaView | 1 | February 11, 2017 18:05 |
[swak4Foam] Foam warnings - related to swak4Foam | Salam-H | OpenFOAM Community Contributions | 20 | August 2, 2015 16:40 |
extract datas to plot on graph | huiling | FLUENT | 2 | December 8, 2007 03:27 |
graph plot | anindya | Main CFD Forum | 2 | September 17, 2003 13:00 |