CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   how to set vapor penetration coefficient? (https://www.cfd-online.com/Forums/phoenics/51817-how-set-vapor-penetration-coefficient.html)

poon November 8, 2004 09:20

how to set vapor penetration coefficient?
 
I want to set the vapor penetration coefficient of the wall made of brick? And when blockage is set as brick,I can't set the boundary condition such as temperation. why?

Carlos November 10, 2004 19:10

Re: how to set vapor penetration coefficient?
 
Hi,

I am not sure I understand your e-mail, but let me try.

You want to make it possible to vapour to go inside a domain. Well, you may create a user defined object at this brick (to create a patch) and the you may add some code at group 13 of q1 to make it a source or a sink of vapour:

(source of vapor at PATCH is equation)

You must have created a solved variable named vapor (what you can do at menu>models>extra variables>solve vapour).

The equation may be something like k.(C1-cout) where C1 is the vapour inside the simulation environment and cout os the reference (may be, for instance, the vapour outside the domain - a boundary condition). k1 would be your "vapor penetration coefficient".

I do not know if this was really your question, but I hope this helps you. If it is what you want and you need more specific details, please feel fre to e-mail me.

Regards,

poon November 11, 2004 08:17

Re: how to set vapor penetration coefficient?
 
thanks for your reply.i will try the method you have told.

poon November 11, 2004 09:35

Re: how to set vapor penetration coefficient?
 
hi carlos: i still have the question of patch. because the brick has the thickness.and quantity of vapor penetrated through the brick is related to the thickness of brick.so the question is: if i want to make it possible to vapor to go outside the domain through the brick,which side should i create the the patch at the brick?

Carlos November 13, 2004 07:22

Re: how to set vapor penetration coefficient?
 
Hi,

I think that the best idea is to create a patch over all the brick (make the brick the user-defined object). You will have to stablish all its physical properties by hand (it will be easy if you use In-form and not difficult if you have to use fortran).

An alternative would be to normally create your brick and then add a Inform limmited by object. The advantage of this method is that you would not have to set all brick properties since it would keep all brick properties. The same effect would happen if you use limmitation using IMAT. However, you must test this procedures because sometimes (I do not know why for sure)they do not work. Here go some examples:

(PROPERTY xyz AT brick IS nnnn) (PROPERTY xyz IS nnnn WITH IF(IMAT.EQ."imat of brick"))

Maybe you will have to use source command instead of property. Please, you will find more explanations about this in polis>enciclopaedia>inform.

Hope this helps. If you have problems, send me the q1 part in which you will write these commands. Please insert comments explaining what you want the code to do.

Regards,


All times are GMT -4. The time now is 23:13.