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

impinged mass on patch cell faces

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2015, 06:58
Default impinged mass on patch cell faces
  #1
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 150
Rep Power: 13
Chrisi1984 is on a distinguished road
Hello together,

I would like to visualize the mass of lagrangian particles that impignes the individual patch cell faces at the wall. Since it is possible to have the output of impinged mass over whole patches, with some implementation it should also be possible to calculate that for every single patch cell faces and visualize it afterwards in paraview.

Does anybody of you have an idea how to start doing that?

Thanks in advance and kind regards
Chrisi
Chrisi1984 is offline   Reply With Quote

Old   January 9, 2015, 13:33
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 14
kmooney is on a distinguished road
Hi Chrisi,

I'm not 100% sure but the 'facePostProcessing' CloudFunctionObject looks like it might do the trick.

Code:
/src/largrangian/intermediate/submodels/CloudFunctionObjects/FacePostProcessing/
There should be some other examples of how similar cloud function objects are setup in the lagrangian tutorials.

cheers!
Kyle
kmooney is offline   Reply With Quote

Old   January 10, 2015, 08:48
Default
  #3
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 150
Rep Power: 13
Chrisi1984 is on a distinguished road
Hi Kyle,

thanks a lot that works! I only need to generate a new faceZone from my patches and run the facePostProcessing CloudFunctionObject on that new face zone.

I am not that familiar with those CloudFunctionObject. Can you tell me how I can create new ones. As bases I would take that facePostProcessing. Which parts I have to compile new in my one librarys and how to link them correctly afterwards?

Kind regards
Chrisi
Chrisi1984 is offline   Reply With Quote

Old   January 13, 2015, 15:51
Default
  #4
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 14
kmooney is on a distinguished road
Hi Chrisi,

I think you can populate the cloudFunctions{} subdictionary which is at the bottom of the kinematicCloudProperties dictionary in most of the lagrangian tutorials.

Usually you could just start out with something like this:

Code:
cloudFunctions
{
    myCloudfunctionObject
    {
        type facePostProcessing;
    }
}

Once you start the simulation it will halt every time the FO runs since you're missing the rest of the inputs. You could then start filling them in one by one.

Alternatively you can inspect the constructor and dictionary readers in the FacePostProcessing.C source code (around lines 260) to get a better idea of the inputs its looking for.


I hope that helps!

Cheers,
Kyle
kmooney is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


All times are GMT -4. The time now is 09:00.