Quote:
What I meant is that I use groovyBC for the temperature. alphat uses standard alpatWallFunction, hence should not be groovyfied. |
Quote:
Anyway: if the value 0 is only there during the first timestep then it is the same bug |
Quote:
Code:
location "0"; Code:
location "0"; Cheers Peter |
Quote:
- instead of alphaEff add a constant (although I don't think that is the problem) - set valueFraction to "uniform 0" (just to be sure) - reset the 300 in the refValue to x. This should fail (this is just to make sure that it is really read) Which version of swak do you use (check the start of the output of funkySetFields) |
Hi, Bernhard,
I am trying to look at your codes of the groovyBC implementation. I am curious where you pass those strings, like "valueExpression_" and "gradientExpression_"? In the source code, groovyBCCommon.C, you just look up those keywords from the dictionary file and read them. How do those strings come into play to update the boundary condition? I guess one of those source codes may contain the implementation of this. Could you please tell me which source code is the right one that I can read and learn from? Thanks a lot in advance. I will appreciate your reply. |
Quote:
That'd be updateCoeffs in groovyBCFvPatchField.C. But the real magic happens in Libraries/swak4FoamParsers (especially everything with PatchValue in the beginning) |
Thank you, Bernhard. I will take a look at it.
|
Hello,
I am not sure this is the right thread for my question, but I was wondering if it was possible to set a fixed gradient in the direction normal to the patch and a fixed value in the tangential direction with groovyBC? |
Quote:
|
Yes, I needed the Dirichlet in the tangential direction. Thanks anyway.
|
Quote:
I want to solve equation and obtain B that is defined like . I've implemented the equation in my base solver. Now i want to test functionality of the new solver but i have some boundary condition problem before testing. For example if i want to get in boundaries i need to set and . Can i use groovyBC for this? How can i implement this BCs? Thanks in advance, |
Quote:
I should tell you that actually we have and So how can i set such a condition?!:confused: |
All times are GMT -4. The time now is 08:07. |