|
[Sponsors] |
[PyFoam] First discussion thread about PyFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 16, 2009, 11:42 |
|
#161 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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:
|
||
November 16, 2009, 11:46 |
|
#162 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
November 16, 2009, 23:49 |
Please direct me to right thread
|
#163 |
Member
Venkat
Join Date: Nov 2009
Posts: 35
Rep Power: 17 |
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 |
|
December 15, 2009, 10:07 |
|
#164 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Hi Bernhard,
how can I try using matplotlib instead of gnuplot with pyFoamPlotWatcher.py from 0.5.3, please? Thanks. BastiL |
|
December 15, 2009, 12:05 |
|
#165 | |
Member
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 62
Rep Power: 17 |
Quote:
I think the error was that I used ancient syntax: value 101300 instead of value uniform 101300. Regards, -Thomas |
||
December 15, 2009, 12:09 |
|
#166 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
If it works for you, could you extend the Wiki-page so that future generations will benefit from it. Thanks |
||
December 17, 2009, 08:42 |
|
#167 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
||
December 17, 2009, 09:08 |
|
#168 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
December 17, 2009, 09:53 |
|
#169 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
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 |
|
December 17, 2009, 19:26 |
|
#170 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|||
December 28, 2009, 07:55 |
pyFoamWriteDictionary
|
#171 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
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 |
|
January 3, 2010, 19:06 |
|
#172 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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) |
||
January 4, 2010, 02:11 |
|
#173 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Hi Bernhard,
thanks, I did not know this. Fabian |
|
January 4, 2010, 04:25 |
|
#174 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
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 |
|
January 4, 2010, 05:36 |
|
#175 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
||
January 4, 2010, 05:48 |
|
#176 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
January 4, 2010, 05:52 |
|
#177 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Yes, was not sure, if this feature is available.
Fabian |
|
January 14, 2010, 12:45 |
|
#178 | |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
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 |
||
January 14, 2010, 16:16 |
|
#179 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
January 15, 2010, 01:18 |
|
#180 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver: k when udf loaded | google9002 | Fluent UDF and Scheme Programming | 3 | November 8, 2019 00:34 |
udf problem | jane | Fluent UDF and Scheme Programming | 37 | February 20, 2018 05:17 |
Guide: Getting Started with the CFD Online Discussion Forums | pete | Site Help, Feedback & Discussions | 8 | July 29, 2016 06:00 |
Error messages | atg | enGrid | 7 | August 30, 2013 12:16 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |