|
[Sponsors] |
[PyFoam] First discussion thread about PyFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#161 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
No offense: are you sure you're in the right Forum (OpenFOAM)? I don't see the relevance of your posting to the Thread you posted it in
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#162 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Quote:
Bernhard |
||
![]() |
![]() |
![]() |
![]() |
#163 |
Member
Venkat
Join Date: Nov 2009
Posts: 35
Rep Power: 15 ![]() |
Hi every one,
Please direct me to right thread where my theoritical problem solving question fits. I thought i replied to CFD WiKi. But I'm not sure after checking replies from others. Please do guide me at the earliest. Many thanks |
|
![]() |
![]() |
![]() |
![]() |
#164 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 529
Rep Power: 19 ![]() |
Hi Bernhard,
how can I try using matplotlib instead of gnuplot with pyFoamPlotWatcher.py from 0.5.3, please? Thanks. BastiL |
|
![]() |
![]() |
![]() |
![]() |
#165 | |
Member
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 62
Rep Power: 16 ![]() |
Quote:
I think the error was that I used ancient syntax: value 101300 instead of value uniform 101300. Regards, -Thomas |
||
![]() |
![]() |
![]() |
![]() |
#166 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Quote:
If it works for you, could you extend the Wiki-page so that future generations will benefit from it. Thanks |
||
![]() |
![]() |
![]() |
![]() |
#167 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 529
Rep Power: 19 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#168 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Could you be a little bit more specific
With 0.99.1.1 on my MacBook I get windows (and hardcopies). With 0.98.5.3 on my CentOS/RedHat-machines only hardcopies (try that switch) work Bernhard |
|
![]() |
![]() |
![]() |
![]() |
#169 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 529
Rep Power: 19 ![]() |
We currelty have matplotlib 0.98.5.2 running. I get:
Code:
PyFoam FATAL ERROR on line 44 of file /opt/PyFoam/PyFoam-0.5.3//lib64/python2.4/site-packages/PyFoam/Basics/MatplotlibTimelines.py : Matplotlib not installed On my local machine this changes to: Code:
PyFoam WARNING on line 42 of file /opt/PyFoam/PyFoam-0.5.3//lib64/python2.4/sit e-packages/PyFoam/Basics/MatplotlibTimelines.py : Matplotlib-Version does not support SubplotHost |
|
![]() |
![]() |
![]() |
![]() |
#170 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Quote:
import matplotlib.pyplot as plt works there. That is the second package that is imported in that module Quote:
The only thing that in my experience works with 0.98 is hardcopies with the hardcopy-option (you won't see any "live" windows) Bernhard |
|||
![]() |
![]() |
![]() |
![]() |
#171 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 18 ![]() |
Hi,
I try to adjust the inlet turbulent kinetic energy in the changeDictionaryDict with pyFoamWriteDictionary: pyFoamWriteDictionary.py system/changeDictionaryDict "dictionaryReplacement['k']['boundaryField']['inlet']['value']" "uniform 100" This command works fine, except, that I get thos quotes in my dictionary file, which I do not want... maybe there is a way to access the 'uniform' value directly or an option to prevent pyFoam from printing those quotes into the dictionary? Would be nice! Fabian |
|
![]() |
![]() |
![]() |
![]() |
#172 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Quote:
See https://sourceforge.net/apps/mantisb.../view.php?id=5 for news on this bug. Bernhard PS: In the future bugs that are reported via Mantis will get priority treatment (it is hard to keep track whether there is another problem hidden in this thread as it is getting rather long) |
||
![]() |
![]() |
![]() |
![]() |
#173 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 18 ![]() |
Hi Bernhard,
thanks, I did not know this. Fabian |
|
![]() |
![]() |
![]() |
![]() |
#174 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 18 ![]() |
Hi Bernhard,
me again :-) For preprocessing I am using your pyFoamCreateBoundaryPatches tool. It seems, that it does not work in parallel for snappyHexMesh-paralllel-created meshes!? Would be nice, if this works! Fabian |
|
![]() |
![]() |
![]() |
![]() |
#175 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
||
![]() |
![]() |
![]() |
![]() |
#176 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Quote:
Bernhard |
||
![]() |
![]() |
![]() |
![]() |
#177 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 18 ![]() |
Yes, was not sure, if this feature is available.
Fabian |
|
![]() |
![]() |
![]() |
![]() |
#178 | |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 18 ![]() |
Hi Bernhard,
I am trying to read the boundary files using pyFoam. This works quite nice with this simple script: Quote:
Would be nice, if you have a hint! Fabian |
||
![]() |
![]() |
![]() |
![]() |
#179 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 50 ![]() ![]() |
Quote:
Bernhard |
||
![]() |
![]() |
![]() |
![]() |
#180 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 18 ![]() |
Hi Bernhard,
yes, you are right. Though, where do I set the option? Using: pfile=BoundaryDict(case2,time="10") I get: TypeError: __init__() got an unexpected keyword argument 'time' Thanks for your help! Fabian |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver: k when udf loaded | google9002 | Fluent UDF and Scheme Programming | 3 | November 7, 2019 23:34 |
udf problem | jane | Fluent UDF and Scheme Programming | 37 | February 20, 2018 04:17 |
Guide: Getting Started with the CFD Online Discussion Forums | pete | Site Help, Feedback & Discussions | 8 | July 29, 2016 05:00 |
Error messages | atg | enGrid | 7 | August 30, 2013 11:16 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 14:37 |