|
[Sponsors] |
[OpenFOAM] how to add fields in list as default? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2013, 04:31 |
how to add fields in list as default?
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
when we open a case in paraview p and U fields are in field list without need to select them separately,how can i add T field to the list so that it be automatically available whenever i open a case in paraview?
__________________
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. |
|
June 28, 2013, 15:59 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
This is one of those situations where there is the simple way and the complicated way The simple way is to simply run: Code:
paraFoam -builtin The complicated way requires hacking the source code:
Bruno
__________________
|
|
June 28, 2013, 16:23 |
|
#3 | |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Quote:
How to edit the file with root power?
__________________
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. |
||
June 28, 2013, 16:46 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Remember this thread: http://www.cfd-online.com/Forums/ope...nd-solver.html
Back in April it looked like you knew how to edit files as root...
__________________
|
|
June 28, 2013, 16:51 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
I found the file you said but it can't be saved.it has only save as.
__________________
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. |
|
June 28, 2013, 17:04 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
sudo su -c ". $WM_PROJECT_DIR/etc/bashrc ; ./Allwclean; ./Allwmake"
__________________
|
||
June 28, 2013, 17:09 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
when I click on "save anyway" it doesn't take action and "don't save" button turns red again and again!
__________________
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. |
|
June 28, 2013, 17:12 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Then try to change the permissions to the whole folder:
Code:
sudo chmod -R og+w "$FOAM_UTILITIES/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/" Code:
sudo chmod -R og-w "$FOAM_UTILITIES/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/"
__________________
Last edited by wyldckat; June 28, 2013 at 17:32. Reason: forgot the closing quote symbol :( |
|
June 28, 2013, 17:25 |
|
#9 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
ehsan@Ehsan-com:~$ sudo chmod -R og+w "$FOAM_UTILITIES/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/
> Bruno the cursor blinks!and it doesn't affect!
__________________
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. |
|
June 28, 2013, 17:33 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Sorry, I completely forgot about the closing quote character. I've updated the previous post with the correct code.
__________________
|
|
June 28, 2013, 17:49 |
|
#11 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
thanks a lot Bruno
It works fine now.T field is added to the list automatically.I always prefer to go a long and maybe hard way at first but be relaxed later! how do you know all these things in different areas?! how many years are you working on your skills?
__________________
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 16:18 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 13:14 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 10:57 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 00:52 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 09:15 |