|
[Sponsors] |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2012, 08:31 |
|
#281 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Quote:
Best regards, Illya |
||
August 23, 2012, 14:48 |
|
#283 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The possibilities with swak are (I assume that the reference frame velocity is specified in a file): - use a global variable that is used in all boundary conditions. That wy you have to specify the velocity twice (and consistent): once in the original file, the other time in the controlDict with a global-variable functionObject - with the pythonIntegration (or the swakCoded if you prefer C++) functionObject: the FO reads the value from the file and injects it into the global namespace Note: with option 1 you have a possibility to keep it consistent: add a dictionary file with an entry referenceVelocity (1 1 42); include that using the include directive into both files where the vel is used and write $referenceVelocity instead of the velocity. |
||
April 8, 2013, 08:52 |
Download of Groovy Bc
|
#284 |
New Member
Mohammad Ghandali
Join Date: Jan 2013
Posts: 8
Rep Power: 13 |
Hi bernhard
thank you for your works i appreciate you for these if you notice that the sourcefourge svn for downloading groovy bc lib is down can you mail it for me? thank you for your help... Best Regards Mohamad |
|
April 8, 2013, 10:19 |
|
#285 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Mohamad,
The SVN is still down and has been for a while. Temporary download instructions can be found here: http://openfoamwiki.net/index.php/Co...am#Downloading Note that swak4Foam combines groovyBC and funkySetField functionalities, and I believe that the individual devlopment of these two tools have come to a stop along with the introduction of swak4Foam. Kind regards Niels |
|
July 2, 2013, 03:52 |
temperature dependent velocity BC using groovyBC?
|
#286 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Hi all,
I would like to have a gradient BC for velocity at the boundary that is calculated from updated values of the temperature field. Is this possible using groovyBC? Thanks in advance,
__________________
Regards, Srivaths |
|
July 2, 2013, 11:33 |
|
#287 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Yes, it is. Use gradientExpression and set fractionExpression to "0"
__________________
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 3, 2013, 01:49 |
|
#288 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Hi Bernhard,
Thank you for the reply. So if I have to write gradient(U) = (1/mu)*(dSigma/dT)*gradient(T) where T is the temperature on the particular patch, it has to be like surface { type groovyBC; variables "mu= ... ;dSigma/dT= ...;"; fractionExpression "0"; gradientExpression "(1/mu)*(dSigma/dT)*T"; ---> how to make sure T is temperature of the patch 'surface' here? }
__________________
Regards, Srivaths Last edited by Sherlock_1812; July 3, 2013 at 08:17. |
|
July 3, 2013, 13:03 |
|
#289 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Some remarks: - use the list-syntax for the variables. It makes things more readable - if your U is a vector then the gradientExpression must be a vector too (it is the gradient of the field in the direction of the face normal).
__________________
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 4, 2013, 01:02 |
|
#290 | |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Quote:
__________________
Regards, Srivaths |
||
July 12, 2013, 04:39 |
|
#291 |
Senior Member
Join Date: Jul 2011
Posts: 120
Rep Power: 15 |
Hi, I am not sure why groovyBC does not work with my 1.6ext installation but works with 2.1.1. I am currently using the multiple installation iso from here. http://www.tfd.chalmers.se/~hani/kur...fromUSBiso.htm
Works fine for 2.1.1 but in 1.6ext Code:
--> FOAM Warning : From function dlLibraryTable::open(const fileName& functionLibName) in file db/dlLibraryTable/dlLibraryTable.C at line 86 could not load libgroovyBC.so: cannot open shared object file: No such file or directory Create mesh for time = 0 Reading gravitationalProperties Reading field h Reading field h0 if present Reading field U Creating field hU --> FOAM FATAL ERROR: Not Implemented Trying to construct an genericFvPatchField on patch inlet of field hU From function genericFvPatchField<Type>::genericFvPatchField(const fvPatch& p, const DimensionedField<Type, volMesh>& iF) in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 45. FOAM aborting |
|
July 12, 2013, 05:45 |
|
#292 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I guess you'll have to get the sources from the latest release and compile them
__________________
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 12, 2013, 06:15 |
|
#293 | |
Senior Member
Join Date: Jul 2011
Posts: 120
Rep Power: 15 |
Quote:
http://openfoamwiki.net/images/e/e6/...e_0.2.3.tar.gz and wmake all from the OF1.6ext terminal. Would that be a sensible procedure? |
||
July 12, 2013, 06:30 |
|
#294 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
There is a problem with 1.6-dev that there are two slightly different version around. If you experience problems during compilation (something about symmTensors in the Parsers) go to Libraries/swak4FoamParsers/include/swak.H and comment (or uncomment) the line with #define FOAM_SYMMTENSOR_WORKAROUND
__________________
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 12, 2013, 06:39 |
|
#295 | |
Senior Member
Join Date: Jul 2011
Posts: 120
Rep Power: 15 |
Quote:
|
||
August 12, 2014, 05:30 |
inlet boundary for tensor using groovy?
|
#296 |
Senior Member
|
Dear Bernhard,
I wish to apply inlet boundary for the tensor using groovy BC. Suppose, the boundary is "mu*(du/dy)" along xx-direction (i.e., Txx). How would I progress? Thanks in Advance |
|
August 12, 2014, 07:40 |
|
#297 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Also all the operators (inner/outer product etc) described in table 1.2 of the OF Programmers Guide are supported For details see: http://sourceforge.net/p/openfoam-ex...amReference.md
__________________
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 |
||
October 29, 2014, 18:10 |
|
#299 | |
Senior Member
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17 |
Quote:
would you please tell me how do you fix it? I need it really! Thank you |
||
October 29, 2014, 18:13 |
|
#300 |
Senior Member
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ship resistance shows wiggles when using Overset mesh and dynamic mesh in Fluent | Qingsong | FLUENT | 2 | March 21, 2022 16:08 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
[ICEM] Dynamic mesh setup with ICEM | David121284 | ANSYS Meshing & Geometry | 0 | April 11, 2014 05:19 |
Dynamic Mesh "Shadow Wall" | thezack | FLUENT | 0 | June 4, 2013 23:09 |
dynamic mesh for drop interface | IndrajitW | FLUENT | 0 | March 30, 2013 09:03 |