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

d2dt2 on a patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2023, 09:06
Default d2dt2 on a patch
  #1
New Member
 
Join Date: Mar 2022
Posts: 7
Rep Power: 4
ngbidi is on a distinguished road
Hi Foamers,

is there a way to get the second time derivative on a patch? I would like to calculate the second time derivative for the temperature. So far, I know how to calculate the second time derivative for the whole field with fvm::d2dt2. But I get a fvMatrix and I don't know how to continue with that.

Thanks in advance.
ngbidi is offline   Reply With Quote

Old   January 15, 2023, 07:53
Default solved
  #2
New Member
 
Join Date: Mar 2022
Posts: 7
Rep Power: 4
ngbidi is on a distinguished road
I found out the answer myself. I only need to use fvc::d2dt2 instead of fvm::d2dt2 and then I will get a volScalarField from which I can take the boundary values.
ngbidi is offline   Reply With Quote

Reply

Tags
d2dt2, fvmatrix, patch, programming, second time derivative


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
[OLAFLOW] The OLAFLOW Thread Phicau OpenFOAM Community Contributions 459 September 12, 2024 12:47
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
steadyUniversalMRFFoam Tutorial fails in MixingPlane HenrikJohansson OpenFOAM Bugs 0 February 14, 2019 05:48
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 14:48
[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 11:15.