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

Calculating source term in selected cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2012, 06:18
Default Calculating source term in selected cells
  #1
New Member
 
deok-kyu choi
Join Date: Feb 2012
Location: Rep. of Korea
Posts: 12
Rep Power: 14
ggoggodak85 is on a distinguished road
I'm trying to calculate coriolis and centrifugal force as source term in SimpleFoam.

when I run wmake, it works!

But coriolis and centrifugal force is applied to all cells.

How can I calculate source term for selected cells?
I already have cellzones and zone name.

I'm waiting for good advice.

Regards
ggoggodak85 is offline   Reply With Quote

Old   April 22, 2014, 23:13
Default
  #2
New Member
 
houwy
Join Date: Nov 2013
Posts: 21
Rep Power: 13
houwy is on a distinguished road
Quote:
Originally Posted by ggoggodak85 View Post
I'm trying to calculate coriolis and centrifugal force as source term in SimpleFoam.

when I run wmake, it works!

But coriolis and centrifugal force is applied to all cells.

How can I calculate source term for selected cells?
I already have cellzones and zone name.

I'm waiting for good advice.

Regards
Hi! I also want to solve this problem,too. Have you solved it? Can you give me some help? Thanks!
houwy is offline   Reply With Quote

Old   November 29, 2018, 07:33
Default
  #3
Senior Member
 
Join Date: Mar 2011
Location: Germany
Posts: 552
Rep Power: 20
cfd seeker is on a distinguished road
Quote:
Originally Posted by houwy View Post
Hi! I also want to solve this problem,too. Have you solved it? Can you give me some help? Thanks!
Hi,

can you please tell me how you implemented Coriolis force and the centrifugal force as source terms?
cfd seeker is offline   Reply With Quote

Old   November 29, 2018, 08:56
Default
  #4
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
Quote:
Originally Posted by ggoggodak85 View Post
I'm trying to calculate coriolis and centrifugal force as source term in SimpleFoam.

when I run wmake, it works!

But coriolis and centrifugal force is applied to all cells.

How can I calculate source term for selected cells?
I already have cellzones and zone name.

I'm waiting for good advice.

Regards
You can define your source term by using fvOption. The source term is then switched on in a given cell set.
mAlletto 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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 06:50
Large source term in species equation MACFD FLUENT 4 January 4, 2011 15:16
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05:26
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 04:43


All times are GMT -4. The time now is 18:39.