Adsorption solver
Hie foamers, i am trying to use chtMultiregionFoam to model adsorption and also using
Code:
adsorptionMassFractionFvPatchScalarField Code:
Solving for solid region solid I have tried all the other fixes i have found on the forum and nothing works for me. Someone help please. for the velocity boundary condition and temperature conditions on the adsorptive wall i used Code:
specieTransferVelocityFvPatchVectorField and Code:
specieTransferTemperatureFvPatchScalarField respectively. anyone please help |
Code:
request for surfaceScalarField phi from objectRegistry adsorptwall failed Btw the objectRegistry is declared in createFields.H, which for MultiregionFoam will instead call createFluidFields.H and createSolidFields.H you will find there is an IOobject for phi in createFluidFields and not in createSolidFields If your custom code requires reading from the field phi then you need to add it to createSolidFields, but you will need to make sure that phi is actually computed in solid regions elsewhere in the code. There is an entire chain of changes you must make if phi is involved in whatever it is you are trying to do. |
Thank you for the quick response.
I have created two solid regions and one fluid region. The adsorptwall is the monolith inside the cylinder where adsorption is taking place. I have. Have tried defining phi in the createSolidFields but that was causing even more complicated errors. I noticed that for specieTransferVelocity boundary condition, It has a function calcPhiYp which is also used in the boundary condition adsorption mass fraction and i couldnt locate that function anywhere?. I am using openFoam10 |
All times are GMT -4. The time now is 11:58. |