|
[Sponsors] |
February 8, 2017, 02:26 |
Creating Patch inside the domain
|
#1 |
Senior Member
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10 |
Hello All,
In my case, I want to create a patch for injecting particles. This, I am able to do using createPatchDict on the boundary faces. But, I want to have this injection patch interior of my domain. I could not achieve this using createPatchDict as it creates patches on existing boundary faces. I request you to please let me know if there is a way to create a patch inside the domain. Thanks & Regards, vidyadhar |
|
February 8, 2017, 04:19 |
|
#2 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Don't ask the same question three times... You're wasting our times.
Creating Patch inside the domain Creating Patch inside the domain Creating Patch inside the domain ---- Have a look at "CellZoneInjection" and "cellSet"s. |
|
February 9, 2017, 07:50 |
|
#3 |
Senior Member
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10 |
Dear Kevin,
Thank you for the reply. I tried to construct the cellZoneInjection Model following your suggestion. I am facing the following problem. I request you to help me solving this problem, if possible. (I am using "Caelus" which is very much similar to openFoam) Part-Output of the log file Constructing particle injection models Creating injector: model3 Selecting injection model cellZoneInjection Constructing 3-D injection Selecting distribution model fixedValue cell zone size = 3610 cell zone volume = 6.041191959e-09 --> CAELUS Warning : From function CML::CellZoneInjection<CloudType>::updateMesh() in file lagrangian/intermediate/lnInclude/CellZoneInjection.hpp at line 397 Number of particles to be added to cellZone particle_INLET1 is zero The injection model in my particle Cloud properties file is like below: model3 { type cellZoneInjection; cellZone particle_INLET1; SOI 0.0112; // Start Of Injection flowRateProfile constant 1; // Flow rate profile relative to SOI massTotal 3.4746e-08; // Total mass injected over injection duration parcelBasisType mass; // How are the number of particles calculated duration 1.2; // Duration of injection. NOTE: set to 1 for steady state U0 (0 0 0.04175); // Initial parcel velocity numberDensity 500; //Number density of particles in cell set (effective) nParticles 500; //I am trying these options to check if particles are getting injected or not nparcels 500; //I am trying these options to check if particles are getting injected or not // parcelsPerSecond 4167; // Number of parcels to introduce per second sizeDistribution { type fixedValue; fixedValueDistribution { value 0.48e-03; } } } I have used toposetDict to create the cellZone: actions ( { name particle_INLET1cellSet; type cellSet; action new; source boxToCell; sourceInfo { box (-0.0036 0.0012 -0.0125)(-0.0012 0.0036 -0.0115); } } { name particle_INLET1; type cellZoneSet; action new; source setToCellZone; sourceInfo { set particle_INLET1cellSet; } } I am missing some keyword(for adding no.of particles to the cellZone) in the injection model. Thanks in advance, Regards, vidyadhar |
|
August 21, 2019, 07:48 |
|
#4 |
New Member
Khaled Yassin
Join Date: Aug 2019
Location: Jülich-Germany
Posts: 13
Rep Power: 7 |
You can create baffles and then use one of the two cyclic patches as an injection patch
How to create baffle? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Wedge patch '*' is not planar | LilumDaru | OpenFOAM Meshing & Mesh Conversion | 7 | September 18, 2024 06:52 |
Floating point exception: Zero divide | liladhar | CFX | 11 | December 16, 2013 05:07 |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 13:23 |
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) | sega | OpenFOAM Meshing & Mesh Conversion | 3 | September 28, 2010 13:46 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |