|
[Sponsors] |
[stressAnalysis] Residual plot for OpenFOAM-ext problem. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 3, 2014, 16:52 |
|
#21 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
PyFoam should parse the stuff there Which version of PyFoam do you use?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 9, 2014, 17:35 |
|
#23 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
I had a look. Some of the solid-solvers in foam-extend-3.x (I assume you're using one of those from the link you posted. Yourself you didn't say what you're using) have residual-output that is slightly different from the normal form and therefor the regular expression that looks for residuals is confused. You'll have to say which solver you're using (preferably also a tutorial case to reproduce). Then I can say whether it is possible to fix it (for the solvers that add information to the residual line I recommend a customRegexp)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
July 11, 2014, 11:48 |
|
#24 | |
Member
|
Quote:
|
||
July 12, 2014, 15:42 |
|
#25 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The other problem is that this solver has a non-standard format for the time ("Time: 1") and PyFoam therefor can not tell when one time-step starts. The good news is that this is configurable. Check with pyFoamDumpConfiguration.py: Code:
[SolverOutput] timeregexp: ^(Time =|Iteration:) (.+)$ Code:
[SolverOutput] timeregexp: ^(Time =|Iteration:|Time:) (.+)$
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 14, 2014, 08:38 |
|
#26 | |
Member
|
Quote:
|
||
July 14, 2014, 09:36 |
|
#27 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
You're welcome. By "untested" I meant: the feature works. The regular expression I wrote is untested
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack after large bounding epsilon events | StoneCFD727 | OpenFOAM Running, Solving & CFD | 1 | January 1, 2018 18:04 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
settlingFoam unstable? | bendel_boy | OpenFOAM Running, Solving & CFD | 38 | July 8, 2016 06:07 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |