|
[Sponsors] |
February 28, 2012, 07:54 |
particleSlipJohnsonJackson
|
#41 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
hi Alex,
I don not have in the case folder but I added in the system/controlDict file like: libs ("libJohnsonJackson.so"); |
|
February 28, 2012, 07:55 |
|
#42 |
Senior Member
|
To solve it the solver which you use should read kineticTheoryProperties file, as it reads for example transportProperties file.
Check twoPhaseEulerFoam solver if it reads kineticTheoryProperties, and if not add reading of kineticTheoryPropertie.
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
February 28, 2012, 08:00 |
|
#43 |
Senior Member
|
No, you miss-understood:
Do you have constant/kineticTheoryProperties file in your case folder?
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
February 28, 2012, 08:03 |
particleSlipJohnsonJackson
|
#44 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
yes I have it in bad2/constant/kineticTheoryProperties
|
|
February 28, 2012, 08:04 |
|
#45 |
Senior Member
|
so, then check if twoPhaseEulerFoam reads it?
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
February 28, 2012, 08:08 |
particleSlipJohnsonJackson
|
#46 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
I have really stuid question is there any way to check it or I should just change the variable there and it is reading when I am using classical BC like noSlip
|
|
February 28, 2012, 08:15 |
|
#47 |
Senior Member
|
stupid answer: "look to the source code of twoPhaseEulerFoam")))
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
February 28, 2012, 08:34 |
|
#48 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
nice answer there is kinetictheoryModels only included and they are connected to the kineticTheoryProperties file
|
|
February 28, 2012, 08:47 |
particleSlipJohnsonJackson
|
#49 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
normal tutorial case(case bed2 and solver twoPhaseEulerFoam) it is running so it means it reading the kineticTheoryProperties file:
{ version 2.0; format ascii; class dictionary; location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // phasea { rho rho [ 1 -3 0 0 0 ] 2500; nu nu [ 0 2 -1 0 0 ] 1e-06; d d [ 0 1 0 0 0 0 0 ] 0.0003; } phaseb { rho rho [ 1 -3 0 0 0 ] 1.2; nu nu [ 0 2 -1 0 0 ] 1.5e-05; d d [ 0 1 0 0 0 0 0 ] 1; } Cvm Cvm [ 0 0 0 0 0 ] 0; Cl Cl [ 0 0 0 0 0 ] 0; Ct Ct [ 0 0 0 0 0 ] 0; alphaAlpha alphaAlpha [ 0 0 0 0 0 ] 0; it seems everything is ok but actually not |
|
February 28, 2012, 08:49 |
|
#50 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
this is kineticTheoryProperties :
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object kineticTheoryProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // kineticTheory on; equilibrium on; e e [ 0 0 0 0 0 0 0 ] 0.8; alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.62; alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.65; Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05; eta eta [ 0 0 0 0 0 0 0 ] 2; p p [ 0 0 0 0 0 0 0 ] 5; phi phi [ 0 0 0 0 0 0 0 ] 0; viscosityModel Gidaspow; conductivityModel Gidaspow; granularPressureModel Lun; frictionalStressModel JohnsonJackson; radialModel Gidaspow; HrenyaSinclairCoeffs { L L [ 0 1 0 0 0 0 0 ] 0.0005; } |
|
February 28, 2012, 09:01 |
|
#51 | |
Senior Member
|
Ok, it seems that it is the problem. BC looks alphaMax in kinetic dictionary and it is renamed to transportProperties or something similar.
Quote:
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at Last edited by makaveli_lcf; February 28, 2012 at 09:02. Reason: typo |
||
February 28, 2012, 09:52 |
particleSlipJohnsonJackson
|
#52 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
hi Alex,
I got the same error... again. this boundary conditions are made by Alberto and Juho.. best! P.S: while compiling I got some message "statement has no effect": SOURCE=particleSlipJohnsonJackson/particleSlipJohnsonJacksonFvPatchVectorField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam210/src/triSurface/lnInclude -I/opt/openfoam210/src/meshTools/lnInclude -I/opt/openfoam210/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/particleSlipJohnsonJacksonFvPatchVectorField.o particleSlipJohnsonJackson/particleSlipJohnsonJacksonFvPatchVectorField.C: In member function ‘virtual void Foam:articleSlipJohnsonJacksonFvPatchVectorField ::updateCoeffs()’: particleSlipJohnsonJackson/particleSlipJohnsonJacksonFvPatchVectorField.C:125 :6: warning: statement has no effect [-Wunused-value] '/opt/openfoam210/platforms/linux64GccDPOpt/lib/libJohnsonJackson.so' is up to date. Recep |
|
February 28, 2012, 12:52 |
OpenFoam for Multiphase Solid-Gas Model
|
#53 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
hi Alex
anything else you can suggest because it is really important for me to have kind of BC thanks a lot for your help |
|
February 28, 2012, 13:46 |
|
#54 |
Senior Member
|
I think you make some thing not exactly the same way I told you. Please upload here archived library folder (source files and Make directory), archived case folder you use and clarify which solver in which OF version you are trying to use. Tomorrow I will check it myself. Too busy now with my project.
Cheers!
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
February 28, 2012, 14:02 |
particleSlipJohnsonJackson
|
#55 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi Alex,
Sorry for disturbing you. Thanks a lot...I am using version of OpenFoam210 and solver twoPhaseEulerFoam. I will send the case and particleSlipJohnsonJackson BC file as well in your email address because they are too big for here. Thanks a lot and sorry again!!! Best! Recep |
|
March 20, 2012, 02:42 |
SpoutBed with here presented BC's
|
#56 |
New Member
David Schellander
Join Date: Jan 2010
Posts: 5
Rep Power: 16 |
Hello,
I'm new at OpenFOAM and I've tried to simulate the spoutBed presented by Buijtenen. "Numerical and experimental study on multiple-spout fluidized beds" After adapting the twoPhaseEulerFoam solver (defining a mapping field in which region the velocity of granular phase and temperature should be solved, otherwise the bed collapses allways in OF 1.7.1) and using fixedValue (0 0 0) at the wall for the granular phase I got nice and useable results, but with zero velocity at the wall. I want to improve them by adding the boundary conditions of Schneiderbauer et. al. ("CFD study of a single-spout pseudo-2D bed: the impact of solids wall boundary conditions", 2012) and for comparison Johnson and Joackson with spec. coeff = 0.15. Schneiderbauer et. al. BC's have the benefit that the BC's only use material parameters and are more accurate as Johnson and Jackson BC's with adaptive Specularity Coefficient calculation. So I saw the discussion here and used the way presented by alberto and started with partialSlip boundary Condition valueFraction*U + (1-valueFraction)*gradU*delta n = 0 The results of both BC's were nearly identically, but I also had in my bed allways velocity zero (or nearly zero) at the wall. This isn't the case in reality and measurements shown in the paper, also our CFDEM results show other tendencies, so for my opinion this useage is maybe mathematical correct, but not physically and we need physically correct results, but it give the best result for this simulation I have got now. Now i'm searching for other ideas to implement the two boundary conditions in OpenFOAM. For example with a mixedBoundary condition valueFraction*(U-Uref)+ (1-valueFraction)*(gradU*delta n-gradUref*delta n) = 0, or a calculated one. Does anybody has some knowledge about calculated boundary conditions and how the work? |
|
March 20, 2012, 03:44 |
|
#57 |
Senior Member
|
David, your question is too general. There are a lot of discussions here about different BC implementations. You can create your own copying e.g. mixed typed BC from OpenFOAM and update it according to your formulation. You just have to know how your BC influences diagonal and source parts of the matrix. Another opportunity is to use swak4foam... So choice is yours...
Regarding calculated BC: boundary values are obtained from field calculations, e.g. if Field_c = Field_a <operation > Field_b, boundary values for Field_c are already calculated from previous relation and are not updated in some special way.
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
March 20, 2012, 03:50 |
|
#58 |
New Member
David Schellander
Join Date: Jan 2010
Posts: 5
Rep Power: 16 |
Thank you for the quick answer. I will have a look at swak4foam.
|
|
March 26, 2012, 11:14 |
particleSlipJohnsonJackson
|
#59 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi,
I am implemeting JohnsonJackson BC , I have some problems: walls { type particleThetaJohnsonJackson; specularityCoefficient 0.5; } Is it correct to write like this? thanks ... Best! Recep |
|
March 27, 2012, 04:35 |
Don't forget
|
#60 |
New Member
David Schellander
Join Date: Jan 2010
Posts: 5
Rep Power: 16 |
to inlcude the value !!
walls { type particleSlipJohnsonJackson; specularityCoefficient 0.5; value uniform(0 0 0); } I think, this was already discussed here in the CFD-online forum. regards, David |
|
Tags |
heat transfer, new bc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary condition for UDS | Tomik | FLUENT | 0 | December 5, 2006 18:37 |
Boundary condition of the third kind or Danckwertz boundary condition | plage | OpenFOAM Running, Solving & CFD | 4 | October 3, 2006 13:21 |
Slip Boundary Condition for Moving Boundary | Shukla | Main CFD Forum | 3 | November 11, 2005 16:02 |
UDF boundary condition | Jeff | FLUENT | 2 | November 20, 2003 18:15 |
Boundary Condition in LES | Zhang Tsiang | Main CFD Forum | 3 | February 5, 2002 21:15 |