CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 25 of 134
Search took 0.01 seconds.
Search: Posts Made By: gschaider
Forum: OpenFOAM Community Contributions March 17, 2022, 12:47
Replies: 338
Views: 69,545
Posted By gschaider
No. That means that an expression matched "9.73 s...

No. That means that an expression matched "9.73 s ClockTime = 9" which it can't convert to a number (probably it should have matched only 9.73). Reason is probably that the output of OF was changed...
Forum: OpenFOAM Community Contributions March 16, 2022, 18:35
Replies: 338
Views: 69,545
Posted By gschaider
Problem probably is that the line ...

Problem probably is that the line

pUtil.add("deltaP","Pressure at .* Difference .*\] (.+)")
did not match anything in the output of the calcPressureDifference-utility or that that utility does...
Forum: OpenFOAM Community Contributions November 2, 2020, 18:21
Replies: 338
Views: 69,545
Posted By gschaider
I think the function object you look for is...

I think the function object you look for is swakExpressionAverageDistribution.



A description can be found here (approximately after slide 198)
...
Forum: OpenFOAM Community Contributions November 1, 2020, 16:59
Replies: 338
Views: 69,545
Posted By gschaider
OK. This one is embarrassing. Seems that in all...

OK. This one is embarrassing. Seems that in all the years I never wrote a derivedParamters.py that defined only one parameter because then I would have noticed it
I THINK the reason why I wrote it...
Forum: OpenFOAM Community Contributions November 1, 2020, 16:44
Replies: 338
Views: 69,545
Posted By gschaider
Definitve place to report such things would be...

Definitve place to report such things would be https://sourceforge.net/p/openfoam-extend/ticketspyfoam/
As openening a fork and making a pull request on...
Forum: OpenFOAM Community Contributions March 12, 2020, 13:07
Replies: 338
Views: 69,545
Posted By gschaider
In a Python-script or in bash-script? PyFoam gets...

In a Python-script or in bash-script? PyFoam gets the information through the environment variables from the calling shell. One place where this might not be the place is in super-security-concious...
Forum: OpenFOAM Community Contributions January 29, 2020, 11:18
Replies: 338
Views: 69,545
Posted By gschaider
Hi. The reason why the first residual is plotted...

Hi. The reason why the first residual is plotted is that usually you want to know "how bad is the solution we started with"


One possibility to get the data you want is to call the watcher like...
Forum: OpenFOAM Community Contributions January 31, 2019, 08:44
Replies: 338
Views: 69,545
Posted By gschaider
Hi! The problem with reporting the linear...

Hi!


The problem with reporting the linear solvers that match a regular expression is that you're opening a can of worms here: Your example is quite straightforward: report solver for U, k,...
Forum: OpenFOAM Community Contributions December 29, 2018, 18:59
Replies: 338
Views: 69,545
Posted By gschaider
pyFoamSnapshot only replaces sources that are...

pyFoamSnapshot only replaces sources that are either the built-in OF-Paraview-Reader (extension: .foam) or the paraFoam-plugin (extension: .OpenFOAM). Other sources (VTK-files and similar) are left...
Forum: OpenFOAM Community Contributions June 28, 2018, 21:45
Replies: 338
Views: 69,545
Posted By gschaider
How did you install PyFoam? Because it seems that...

How did you install PyFoam? Because it seems that this is an installation problem


Bernhard
Forum: OpenFOAM Community Contributions March 14, 2018, 06:56
Replies: 338
Views: 69,545
Posted By gschaider
I'm afraid the only option would be to first read...

I'm afraid the only option would be to first read the CSV-file. Then add the data to the CSVCollection and then read the next file. It could be possible to add this to the constructor
Forum: OpenFOAM Community Contributions January 16, 2018, 16:48
Replies: 338
Views: 69,545
Posted By gschaider
The problem with OpenFOAM dictionaries is that...

The problem with OpenFOAM dictionaries is that only the C++-code that reads it knows what things actually mean. For instance for a dictionary entry
nu nu [0 2 -1 0 0 0 0] 1e-06;the...
Forum: OpenFOAM Community Contributions October 9, 2017, 07:37
Replies: 338
Views: 69,545
Posted By gschaider
I'll remove "none" from the list of possible...

I'll remove "none" from the list of possible "false"-representations. I don't think that anyone is even aware that this is possible (OF specifies 6 different ways to write false ) and it breaks valid...
Forum: OpenFOAM Community Contributions October 8, 2017, 17:07
Replies: 338
Views: 69,545
Posted By gschaider
The Problem seems to be PyFoam. "none" is assumed...

The Problem seems to be PyFoam. "none" is assumed to be an equivalent for boolean "false" because OpenFOAM defines it this way in Switch.H and Switch.C. "false" is then later written as "no". One of...
Forum: OpenFOAM Community Contributions June 5, 2014, 05:28
Replies: 338
Views: 69,545
Posted By gschaider
There may be other problems, but I think it is...

There may be other problems, but I think it is the [] in the regular expression. That has a special meaning in regular expression. Replace it with "\[0\]"

For your first steps with regular...
Forum: OpenFOAM Community Contributions April 11, 2014, 09:02
Replies: 338
Views: 69,545
Posted By gschaider
If you have the suspicion that something SHOULD...

If you have the suspicion that something SHOULD work in pyFoam try something like "pyFoamPlotWatcher.py --help" and have a look. In this special case the section "Plot Behaviour" and especially the...
Forum: OpenFOAM Community Contributions August 13, 2013, 18:12
Replies: 338
Views: 69,545
Posted By gschaider
PyFoam wouldn't try to import numpypy if numpy...

PyFoam wouldn't try to import numpypy if numpy was installed.

To check that numpy is not installed try
python -c "import numpy;print numpy.__version__"

Or check with pyFoamVersion.py
Forum: OpenFOAM Community Contributions August 13, 2013, 13:16
Replies: 338
Views: 69,545
Posted By gschaider
pyFoamVersion.py will show that you have no numpy...

pyFoamVersion.py will show that you have no numpy installed. Install it via the package manager of your distribution (usually it is called python-numpy or so)
Forum: OpenFOAM Community Contributions April 8, 2013, 18:58
Replies: 338
Views: 69,545
Posted By gschaider
If it is installed on the cluster: yes...

If it is installed on the cluster: yes ("installed on the cluster": an installation in the users home directory is sufficient if PATH and PYTHONPATH are set correctly). After all it is mainly...
Forum: OpenFOAM Community Contributions August 6, 2012, 18:54
Replies: 338
Views: 69,545
Posted By gschaider
OK. Then this is something to come with the next...

OK. Then this is something to come with the next version (along with a new template engine that allows branches and loops)
Forum: OpenFOAM Community Contributions July 16, 2012, 15:18
Replies: 338
Views: 69,545
Posted By gschaider
Problem is that certain shells pass the "" with...

Problem is that certain shells pass the "" with the argument and others don't.

Best fix I can offer is: go to FromTemplate.py and add the lines with the + (but without the +) after the other two...
Forum: OpenFOAM Community Contributions June 14, 2012, 14:29
Replies: 338
Views: 69,545
Posted By gschaider
As much as I welcome contributions to PyFoam I...

As much as I welcome contributions to PyFoam I would discourage that (adding it to the code). The phase fraction is a solver-specific output and for such outputs there is the customRegexp-file (see...
Forum: OpenFOAM Community Contributions May 21, 2012, 18:09
Replies: 338
Views: 69,545
Posted By gschaider
I don't understand what you mean with "gradually...

I don't understand what you mean with "gradually extends during iteration".

Just to clarify: the purpose of the frequency-option is "only redo the plot every x seconds" the purpose of this is that...
Forum: OpenFOAM Community Contributions April 19, 2012, 07:26
Replies: 338
Views: 69,545
Posted By gschaider
Well. If I insert typos like that it is ALWAYS on...

Well. If I insert typos like that it is ALWAYS on purpose to see how observant people are. But don't tell anyone
Forum: OpenFOAM Community Contributions April 17, 2012, 19:58
Replies: 338
Views: 69,545
Posted By gschaider
Yeah. Great. Probably such stories "from the...

Yeah. Great. Probably such stories "from the trenches" will motivate people more



One of these days I'll replace regexps with http://en.wikipedia.org/wiki/Brainfuck and people will stop...
Showing results 1 to 25 of 134

 
Forum Jump

All times are GMT -4. The time now is 05:29.