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

Solving convection-diffusion problems in spherical coordinates

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By überschwupper

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2023, 05:18
Default Solving convection-diffusion problems in spherical coordinates
  #1
New Member
 
Join Date: Jan 2023
Posts: 10
Rep Power: 3
orangeDuck is on a distinguished road
Hello to all,


I would like to solve a convection-diffusion scalar transport equation on the surface of a sphere (2D problem). The problem should have symmetry with respect to the main meridian.

Are OpenFOAM fvm and fvc operators able to work with spherical coordinates? If so, how can this be achieved?
orangeDuck is offline   Reply With Quote

Old   March 28, 2023, 10:52
Default
  #2
Member
 
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4
überschwupper is on a distinguished road
I dont think so. Since the operators are different in spherical coordinates it is (I dont know for sure, I just assume that by my knowledge) the implementation has to be different. But you can try to transform your equations into cartesian coordiantes and try it that way. Depending on your time its probably worth it.
yueyun likes this.
überschwupper is offline   Reply With Quote

Old   March 30, 2023, 05:29
Default
  #3
New Member
 
Sergey Lesnik
Join Date: Mar 2015
Posts: 14
Rep Power: 11
serles is on a distinguished road
You may also be interested in Finite Area Method for this task, e.g. available in foam-extend.
serles 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
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 06:07
HeatSource BC to the whole region in chtMultiRegionHeater xsa OpenFOAM Running, Solving & CFD 3 November 7, 2016 06:07
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35


All times are GMT -4. The time now is 08:35.