|
[Sponsors] |
October 4, 2011, 19:49 |
swak4Foam - New release
|
#1 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
A new release of swak4Foam can now be downloaded through the usual channels (SVN).
New features are: - global variables - functionObjects that allow the inclusion of Python-Code - a variant of the coded-functionObject that cooperates with swak (only for OF 2.) - functionObjects that solve the laplacian and the transport equation Further details on these new features can be found in the 2nd part of the presentation that is found here: http://openfoamwiki.net/index.php/Fi...Leoben2011.pdf Bernhard |
|
January 5, 2012, 06:00 |
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Forgot to mention it here (notifications already reached other channels - had so much fun playing with the new Social-media button on the network): a new release of swak4Foam ist out
Major improvements are:
PS: I was notified that this is going to be my 2001st post on the message board. In the honor of this this will be the first swak4Foam-release with a release name: "Kubrick" |
|
January 6, 2012, 17:00 |
|
#3 |
New Member
Martin
Join Date: Jun 2009
Posts: 7
Rep Power: 17 |
Hi Bernhard,
concerning the conditional functionsObjects I a question. Is it also possible to created a condition that calls the functionsObjects at a specific position of the solver, for example in the outer pressure correction loop of the pimple based solvers? Martin |
|
January 7, 2012, 13:55 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I THINK something like you want to could be achieved by specifying a second functionObjectList and calling it in the appropriate places. But you'd have to modify the solver code for that and it could lead to all kinds of weird behaviour for some function objects as they sometimes can't deal with being called twice for the same time-value |
||
January 8, 2012, 16:43 |
|
#5 |
New Member
Martin
Join Date: Jun 2009
Posts: 7
Rep Power: 17 |
Hi Bernhard,
thanks for the reply. Could you please give me a hint what needs to be done in order to define a second functionObjectList. How is the "normal" functionObjectList defined in the code and how is this list executed from the solver? Martin |
|
January 9, 2012, 10:42 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
January 10, 2012, 07:37 |
|
#7 |
New Member
Martin
Join Date: Jun 2009
Posts: 7
Rep Power: 17 |
Hi Bernhard,
thanks for your answer. I wil have a look át the conditional FunctionObjects and try to understand how it works. Martin |
|
April 18, 2012, 18:34 |
|
#8 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Last friday (the 13th) a new release of swak4Foam hit the servers. One of the big innovations of this release is that I implemented a system that allows identifying consecutive releases by a system of ascending numbers. This system should make it easier to identify releases and find out whether the current release is the newest. I will call these numbers "version numbers" (not yet trademarked). I think this system is very useful in a lot of contexts. Feel free to use it for your own projects (reference to the place you saw it first would be nice).
The new release will receive the number 0.2.0 (previous releases have been numbered with 0.1.x) Other new features are - temporal operators ddt and oldTime. Other operators from fvc are added - functions for location of minimum and maximum - Field-parser now supports tensors and pointFields - New variables for Python-integration - boundary conditions groovyBCDirection and groovyBCJump - fully parallel compilation (see README for a full list). Downloading is described at http://openfoamwiki.net/index.php/Co...am#Downloading |
|
May 11, 2012, 10:05 |
bug report
|
#9 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Hej,
I wanted to use the bug report on the sourceforge website, but somehow it is not accepting my login (I used the openID login) and when I go to the bug report website you give in openfoamwiki contrib I get redirected and it does not fulfill my wishes, therefore I would like to report the bug here :-) anyway, the pow() function has a problem with the parser, the second variable can not be set with a alphanumerical variable but has to be a value.
__________________
~roman |
|
May 14, 2012, 16:11 |
|
#10 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I'll make a note and hope that I don't forget (BTW: Sourceforge seems to have fixed their server-problem so maybe you can log in now) PS: there is a part in me that says "don't do it. This is madness. Remember all the times people 'reported bugs' but in reality where using the pow-function wrong. And this will become 'easier' if the exponent is calculated too" but I guess the part that wants a 'complete' grammar is going to be stronger |
||
May 15, 2012, 03:55 |
|
#11 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Thank you. Hope that the source forge works again, but I had problems before.
__________________
~roman |
|
July 30, 2012, 19:06 |
|
#12 |
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17 |
Hi
First , thanks for groocyBC, I would like to use groovyBCDirection Is there any example how to use them ? Thanks |
|
August 6, 2012, 19:02 |
|
#13 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The boundary condition is based on the directionMixed-BC (the same way groovyBC is based on the mixed-BC) so look for documentation on this |
||
October 18, 2012, 16:04 |
New release of 0.2.1 of swak4Foam
|
#14 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi!
A new release of swak4Foam has hit the repositories (mercurial and SVN) For general information on this swak-thing see http://openfoamwiki.net/index.php/Contrib/swak4Foam The most notable changes in this version are:
A full list of the changes (and bugs fixed) in this version can be found in the History section of http://openfoamwiki.net/images/e/e6/...oam_README.pdf (for OpenFOAM 1.x) or http://openfoamwiki.net/images/8/81/...README_2.x.pdf (for OpenFOAM 2.x - contents are slightly different). The list is seven pages long in the PDF so there is more than the above highlights. Have fun and don't hurt yourself Bernhard
__________________
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 |
|
February 28, 2013, 19:52 |
New Release of 0.2.2 of swak4Foam
|
#15 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
New version of swak4Foam (0.2.2) is available. As usually it contains bug-fixes (yeah. There were bugs. Unbelievable, but true) and several enhancements. For details see the README that comes with it.
For those who don't want to download it without knowing what is new here is an incomplete list of new features: - several enhancements to the python-integration. Amongst other things: variables that have fields are now availoable to the python-code as numpy.-arrays - expressions now can access fields from a different case. This makes it possible to easily use funkySetFields to compare cases - Patch-expressions now support mappedPatches - Plugin functions to access fields from the radiation mode or the combustion model (for instance the reaction rates) - Enhancements to the build-scripts - The start of a reference-manual (Only the first part. In org-mode. Not proofread) For information on downloading see: http://openfoamwiki.net/index.php/Contrib/swak4Foam Unfortunately the SVN is still not available (everybody say "Thank you, ANSYS") but there are tarballs to download at the above link
__________________
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 |
|
March 7, 2013, 20:10 |
|
#16 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
- As I found out afterwards the release doesn't compile on 1.6-ext. This is fixed in the development version (mercurial repository on sourceforge. See Wiki-page for details) - One week after the release OF 2.2 came out. The current release of swak4Foam does not compile with it. But I already fixed it and pushed the fixes to the development repository into a special branch (see https://twitter.com/swakPyFoam/statu...94954107031552). The fixes seem to work OK but I plan to test them and then merge them into the regular 2.x-branch. Updates on this work and info which branch is the "better" one for 2.2 will be posted on the above Twitter-channel
__________________
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 |
||
March 18, 2013, 18:44 |
Release 0.2.3
|
#17 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
The last release 0.2.2 will go down in history as one of the shortest-lived swak-releases: as Version 2.2 of OF came out the week after that and as this release makes it necessary to do some changes on the swak-sources this release was rushed out to allow people to go on swaking on 2.2.
In addition the compilation on 2.0 and 1.6-ext were fixed (1.7 and 2.1 were working all the time) Apart from the support for various OF-versions there are not many additional features: - support for eigenValues and eigenVectors of tensors - accessing a full row of a tensor with .x, .y and .z - writing out sampled surfaces and sets that were specified by swak-functionObjects For details have al look at the README
__________________
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 |
|
March 22, 2013, 07:28 |
|
#18 |
Senior Member
|
Bernhard,
Thanks a lot for all the work making swak available for the new release so soon. I was wondering on one particular new feature. In the readme file it is mentioned that it is now possible to access the internalField from different cases. Does this mean it is limited to the internalField, or is it also possible to access patches from a different case to use in a groovyBC? I am wondering if it is possible to use the fields at an outlet as an inlet condition for a different case using this framework? Regards, Tom |
|
March 22, 2013, 16:56 |
|
#19 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I developed this because I wanted to compare results from different cases (or different time in the same case). It basically is the functionality of the mapFields-utility. For different cases the mappedPatch-functionality won't help you either I'm afraid. If there is nothing in OF that supports this it is rather unlikely that such a feature will turn up in swak (will have a look at it when I or someone I work for needs it)
__________________
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 |
||
March 23, 2013, 02:29 |
|
#20 |
Senior Member
|
Hi Bernhard,
Thank you for the clarification. That will save me some trial and error. Maybe I can find another solution. Regards, Tom |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubles with heat release rate | Xavier Ponticq | CFX | 4 | September 12, 2012 19:49 |
Extend Project Release 1.6-ext | hjasak | OpenFOAM Announcements from Other Sources | 33 | July 14, 2011 19:54 |
OpenCFD release OpenFOAMŪ version 1.7.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2010 12:40 |
Diesel combustion simulation ( Heat release rate) | venkatesh | Siemens | 2 | April 29, 2009 08:38 |
Public Release of the Wiki | Jonas Larsson | CFD-Wiki | 3 | November 7, 2005 05:13 |