CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Boundary condition question (diffusive flux)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2015, 13:51
Default Boundary condition question (diffusive flux)
  #1
New Member
 
Leonardo
Join Date: Nov 2014
Posts: 27
Rep Power: 12
khariel is on a distinguished road
Hello everyone,

I'm currently modelling an ethanol fuel cell anode, and I need to add a boundary condition to an interface. This interface is between a porous region, where an ethanol solution permeates through, and a catalyst layer. Once the ethanol solution reaches the catalyst, a reaction happens.

This boundary condition will simply state that (ethanol diffusive flux)=(reactive flux) within the interface region.

How can I write an expression that includes this ethanol diffusive flux? I've only found the variables for the velocities, but those are for the bulk I presume.

Thanks in advance.
khariel is offline   Reply With Quote

Old   February 25, 2015, 18:04
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I presume your ethanol is a mass fraction equation. So you just add a mass fraction source term at the interface.
ghorrocks is offline   Reply With Quote

Old   February 26, 2015, 10:06
Default
  #3
New Member
 
Leonardo
Join Date: Nov 2014
Posts: 27
Rep Power: 12
khariel is on a distinguished road
Hi Glenn, thanks for the reply.

I'm aware I need to create a source for the ethanol mass fraction at the interface, but my question is how can I write an expression that would be equivalent to the stated BC (diffusive flux=reactive flux)?

I tried writing a source like this: -massFlowEth/areaInterface

But didn't quite work as intended.
khariel is offline   Reply With Quote

Old   February 26, 2015, 17:49
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Are you modelling the chemistry to get the reactive flux? Or does it come from something else?
ghorrocks is offline   Reply With Quote

Old   February 27, 2015, 09:54
Default
  #5
New Member
 
Leonardo
Join Date: Nov 2014
Posts: 27
Rep Power: 12
khariel is on a distinguished road
It is an electrochemical reaction. Put it simply, the reactive flux depends on the ethanol local concentration at the interface. So I guess I just need to declare the kinetics expression as the source term?
khariel is offline   Reply With Quote

Old   February 28, 2015, 07:52
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, that's right.
ghorrocks 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Constant Heat Flux Boundary Condition on Long Thin Pipe CGramlich SU2 3 April 22, 2013 09:25
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 05:13
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 03:53
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 07:49


All times are GMT -4. The time now is 21:58.