CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

Initial conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By bigphil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2019, 05:49
Default Initial conditions
  #1
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
To publicly answer a question I received via email:

Question
In the tutorial solids/elastoplasticity/impactBar, there are the following fields:
  • D Displacement Vector
  • D_0 ?
  • DD ?
  • DD_0 ?
  • DD_0_0 ?
  • DD_0_0_0 ?

What are all of them?

Answer

The suffix '_0' on a file/field name indicates it is an old-time field i.e. D is the displacement field at time 0 and D_0 is the displacement at the previous time-step (if it existed) assuming the current time-step size.

To set an initial velocity (or acceleration), you should appropriately set D, D_0 and D_0_0 assuming a three time-level d2dt2 time discretisation (e.g. Euler) for and also D_0_0_0 if using a four-level d2dt2 time discretisation (e.g. backward).
You can set these fields using setFields.

If the chosen solidModel solves for DD (increment of displacement) as opposed to D (total displacement) then you would need to also set DD_0, DD_0_0 (and DD_0_0_0 for a four-level time discretisation). Note: for a constant initial velocity then all the increment fields will have the same value. Note 2: DD = D - D_0 i.e. the increment of displacement is the total displacement minus the old total displacement.

Philip
wyldckat and pedroavr92 like this.
bigphil 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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 10:10
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. Nkl OpenFOAM Running, Solving & CFD 19 October 10, 2019 03:42
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13


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