CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Creating Patch inside the domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2017, 02:26
Default Creating Patch inside the domain
  #1
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10
vidyadhar is on a distinguished road
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
vidyadhar is offline   Reply With Quote

Old   February 8, 2017, 04:19
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21
floquation will become famous soon enough
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.
floquation is offline   Reply With Quote

Old   February 9, 2017, 07:50
Default
  #3
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10
vidyadhar is on a distinguished road
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
vidyadhar is offline   Reply With Quote

Old   August 21, 2019, 07:48
Default
  #4
New Member
 
Khaled Yassin
Join Date: Aug 2019
Location: Jülich-Germany
Posts: 13
Rep Power: 7
Yassin-K is on a distinguished road
You can create baffles and then use one of the two cyclic patches as an injection patch

How to create baffle?
Yassin-K 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
[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


All times are GMT -4. The time now is 01:05.