|
[Sponsors] |
[swak4Foam] How to save the initial positions of a boundary in groovyBC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 5, 2017, 05:23 |
How to save the initial positions of a boundary in groovyBC
|
#1 |
New Member
Join Date: Sep 2015
Posts: 1
Rep Power: 0 |
p { margin-bottom: 0.1in; line-height: 120%; } Hi
I am going to move some of the boundaries in my simulation based on a desired function. So, implementing groovyBC in pointDisplacement file (displacementLaplacian is used for dynamic mesh), I apply the desired expression on the boundaries. However, I have to use the initial positions of the vertices of a boundary ( pts().x and pts().y ) in other time steps. I do not know how to save the initial positions of the vertices (at t=0) to be available for other time steps. Any help/hint is appreciated. |
|
July 11, 2017, 21:20 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
Tags |
groovybc, pointdisplacement, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Wrong fluctuation of pressure in transient simulation | caitao | OpenFOAM Running, Solving & CFD | 2 | March 5, 2015 22:33 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |