CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Degassing Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2016, 06:01
Default
  #21
New Member
 
Timucin Kislak
Join Date: Feb 2016
Location: Germany
Posts: 20
Rep Power: 10
Lokati is on a distinguished road
so it is like this:

valueFraction()=
sqr(n) = n*n

so n*n leads to a valueFraction=(1 0 0 1 0 1) .

I am really bad in mathematics so here is my question?

If you multiply the normal vectors n*n , how does it change the valueFraction to (1 0 0 1 0 1)?? The valueFraction is a tensor, but the normal vector is a vector.

Best regards,
Timucin
Lokati is offline   Reply With Quote

Old   March 22, 2016, 07:21
Default
  #22
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by Lokati View Post
so it is like this:

valueFraction()=
sqr(n) = n*n

so n*n leads to a valueFraction=(1 0 0 1 0 1) .

I am really bad in mathematics so here is my question?

If you multiply the normal vectors n*n , how does it change the valueFraction to (1 0 0 1 0 1)?? The valueFraction is a tensor, but the normal vector is a vector.

Best regards,
Timucin
Hi Timucin,

It seems that you are a bit confused.

Some info that might help clarify things for you:

n*n does not equal (1 0 0 1 0 1).

(1 0 0 1 0 1) is the identity tensor in symmetric tensor form i.e. (xx xy xz yy yz zz).

valueFraction is a symmetric tensor not a tensor, hence it has 6 independent components, not 9.

If the normal vector is (nx ny nz) then n*n (an outer product) is a symmetric tensor: (nx*nx nx*ny nx*nz ny*ny ny*nz nz*nz).

To set valueFraction to (1 0 0 1 0 1):
Code:
valueFraction() = symmTensor(1, 0, 0, 1, 0, 1);
I also suggest you read the other threads on the directionMixed boundary condition.

Philip
bigphil is online now   Reply With Quote

Old   April 4, 2016, 04:33
Default
  #23
New Member
 
Timucin Kislak
Join Date: Feb 2016
Location: Germany
Posts: 20
Rep Power: 10
Lokati is on a distinguished road
Hi Phil,

how can (nx*nx nx*ny nx*nz ny*ny ny*nz nz*nz) set the normal component to fixedValue and the tangential components to fixedGradient?

Best regards,
Timucin
Lokati is offline   Reply With Quote

Old   April 4, 2016, 07:26
Default
  #24
New Member
 
Timucin Kislak
Join Date: Feb 2016
Location: Germany
Posts: 20
Rep Power: 10
Lokati is on a distinguished road
Hi Phil,

do yo know how i could directly change the value of the velocity neighbour cells? I want to fix the neighbour cells to Zero.

Accessing to a neigbour value is not the problem...but how can i directly change the value?

Best regards,
Timucin
Lokati is offline   Reply With Quote

Old   April 21, 2016, 10:18
Default
  #25
New Member
 
jp279
Join Date: Jul 2015
Posts: 9
Rep Power: 10
jp279 is on a distinguished road
Send a message via Skype™ to jp279
Hi Lokati,

I am also trying degassing outlet in bubble column. I don't have condition on alpha as you, so can simply use Slip BC for the liquid and pressureInletOutletVelocity BC for the gas at the degassing patch? Isn't combination of these two BCs indeed the degassing BC?
jp279 is offline   Reply With Quote

Old   April 21, 2016, 13:45
Default
  #26
New Member
 
Timucin Kislak
Join Date: Feb 2016
Location: Germany
Posts: 20
Rep Power: 10
Lokati is on a distinguished road
Hi Jigar,

i understand you're problem, but it is different from mine, because you do not have alpha. I do not know how you can specify the BC for you're problem.

My advice is that you just make a case with openFOAM and try out some things.
This thread is very good for you i think, but i really don't know more about this BC.

Best regards
Timucin
Lokati is offline   Reply With Quote

Old   April 21, 2016, 14:37
Default
  #27
New Member
 
jp279
Join Date: Jul 2015
Posts: 9
Rep Power: 10
jp279 is on a distinguished road
Send a message via Skype™ to jp279
Dear Lokati,

Thanks for the reply. I'll make a test case and will get back with its details as well as the results (if any).

Jigar
jp279 is offline   Reply With Quote

Reply

Tags
boundary, degas, interfoam, openfoam, outlet


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Radiation interface hinca CFX 15 January 26, 2014 17:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49


All times are GMT -4. The time now is 11:10.