CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2011, 03:57
Default
  #1
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi Bernhard, and thank you for your answer.

Quote:
Originally Posted by gschaider View Post
I trust you had a look at the Wiki-page T.D. gave.
Yes, I take a look there sometimes ago.

Quote:
Originally Posted by gschaider View Post
So at least you stumbled upon normal() for the normal vecotor. U.snGrad() should give you the surface normal of U, but that is not what you want.
Correct, I don't need U.snGrad(), or at least not only it.

Quote:
Originally Posted by gschaider View Post
Another problem is your tau. For a patch as it is 2D you'll always have 2 orthogonal tangential directions so you'll probably want to reformulate (x dot tau) as mag(x-normal()*(normal() dot x)).
Again correct, in my case tau is the tangential vector aligned with the flow velocity U, so (U dot tau) = mag(U-normal()*(normal() dot U)).

Quote:
Originally Posted by gschaider View Post
Did I understand your formulation correctly that if you can calculate U_slip correctly from the current flow conditions, then you can set it on the boundary as a Dirichlet? Otherwise you'll have to reformulate it. But as I said: you'll have to play around (not sur how to implement the d/dTau in you equation) and I can't guarantee success
What I want to do is set the slip velocity at wall, so at the end a Dirichlet b.c. for U is possible. On the other end, for stability reasons I need to evaluate U_slip in an implicit way, so I can't just discretize the derivatives and solve.
For d(U dot n)/dtau, maybe it could be rewritten as grad(U dot n) dot tau

Any other ideas? I definitely hope that groovyBc would do the trick...
Thanks, Ivan
ivan_cozza is offline   Reply With Quote

Old   March 2, 2011, 12:27
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ivan_cozza View Post

Again correct, in my case tau is the tangential vector aligned with the flow velocity U, so (U dot tau) = mag(U-normal()*(normal() dot U)).



What I want to do is set the slip velocity at wall, so at the end a Dirichlet b.c. for U is possible. On the other end, for stability reasons I need to evaluate U_slip in an implicit way, so I can't just discretize the derivatives and solve.
For d(U dot n)/dtau, maybe it could be rewritten as grad(U dot n) dot tau

Any other ideas? I definitely hope that groovyBc would do the trick...
Thanks, Ivan
I'm afraid implicit won't work (unless you can reduce it to a mixed-BC).

Bernhard
gschaider is offline   Reply With Quote

Old   March 3, 2011, 02:47
Default
  #3
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Quote:
Originally Posted by gschaider View Post
I'm afraid implicit won't work (unless you can reduce it to a mixed-BC).

Bernhard
What do you mean with reduce to a mixed b.c.?
My b.c. is essentially a mixed b.c., as apart from the constants it is in the form

a*f_wall + b*grad(f_wall) = c

what kind of modification it needs to be putted in a mixed b.c.?

Thanks,
Ivan
ivan_cozza is offline   Reply With Quote

Old   March 3, 2011, 09:15
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ivan_cozza View Post
What do you mean with reduce to a mixed b.c.?
My b.c. is essentially a mixed b.c., as apart from the constants it is in the form

a*f_wall + b*grad(f_wall) = c

what kind of modification it needs to be putted in a mixed b.c.?

Thanks,
Ivan
With mixed b.c. I mean the mixed boundary condition as described in the UserGuide 5.2.3
gschaider is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 15:08
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[ICEM] Dynamic mesh setup with ICEM David121284 ANSYS Meshing & Geometry 0 April 11, 2014 04:19
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 22:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 08:03


All times are GMT -4. The time now is 04:35.