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

Error: "d2dt2" is not a member of fvm

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2025, 02:15
Default Error: "d2dt2" is not a member of fvm
  #1
New Member
 
Sabyasachi Roy
Join Date: Mar 2025
Posts: 3
Rep Power: 2
Sabyasachi is on a distinguished road
I was trying to write an equation that is a second derivative of time.
For example, the wave equation,

Code:
fvm::d2dt2(T)
	     ==
		fvm::laplacian(DT, T)
using the openfoam ESI version 2412.

But it shows error that:

HTML Code:
 error: ‘d2dt2’ is not a member of ‘Foam::fvm’; did you mean ‘ddt’?
   68 |                 fvm::d2dt2(T)
      |                      ^~~~~
      |                      ddt
How can I solve this for openfoam-v2412?
Sabyasachi is offline   Reply With Quote

Old   May 8, 2025, 10:58
Default
  #2
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 65
Rep Power: 11
amirhosseintaran is on a distinguished road
Quote:
Originally Posted by Sabyasachi View Post
I was trying to write an equation that is a second derivative of time.
For example, the wave equation,

Code:
fvm::d2dt2(T)
	     ==
		fvm::laplacian(DT, T)
using the openfoam ESI version 2412.

But it shows error that:

HTML Code:
 error: ‘d2dt2’ is not a member of ‘Foam::fvm’; did you mean ‘ddt’?
   68 |                 fvm::d2dt2(T)
      |                      ^~~~~
      |                      ddt
How can I solve this for openfoam-v2412?
Hi Sabyasachi


Have you included relevant headers within your application?

I suggest you take a look at:

Code:
solvers/acoustic/acousticFoam/paEqn.H
which itself is part of
Code:
acousticFoam.C
,

You'll see that these headers are being included:

Code:
#include "fvCFD.H"
#include "fvOptions.H"
Bests,
Amir.
amirhosseintaran is offline   Reply With Quote

Old   May 9, 2025, 10:26
Default
  #3
New Member
 
Sabyasachi Roy
Join Date: Mar 2025
Posts: 3
Rep Power: 2
Sabyasachi is on a distinguished road
Thank you.
Sabyasachi is offline   Reply With Quote

Reply

Tags
error, fvm::d2dt2(), fvm::ddt()

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
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
OpenFoam 14 installation problem gfcoppola OpenFOAM Installation 20 November 2, 2007 14:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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