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

[mesh manipulation] custom Diffusivity in dynamicMeshDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2023, 18:17
Default custom Diffusivity in dynamicMeshDict
  #1
New Member
 
Join Date: Apr 2023
Posts: 4
Rep Power: 3
rangure is on a distinguished road
hi,
I'm trying to use openfoam to simulate a wave flume with a slop. and to generate a wave, a flap wavemaker on the left-hand side is implemented with dynamic mesh movement. Now since the displacementLaplacian solver acts on the whole domain, the slop will have non-physical movement with the mesh movement. To solve this problem I'm using frozenPointsZone to freeze the points on the right. For example, suppose the total length of the flume is L and the slope starts at x from the left wall. Then the mesh in [0,x] will move according to the diffusivity solver and the mesh in [x,L] will stay fixed. Now the problem is that the inverseDistance diffusivity is using L as its base(1/L). This will cause problems if I have a large L and a relatively small x, as the first column of blocks on the left of x will be significantly smaller than other blocks. Is there any way I could use x as the base of the inverse calculation? or any of the diffusivity openfoam provided can mitigate this problem. here's my current setup and inlet is the left wall.
Code:
dynamicFvMesh      dynamicMotionSolverFvMesh;
motionSolverLibs   ("libfvMotionSolvers.so");

solver            displacementLaplacian;

displacementLaplacianCoeffs
{
    diffusivity quadratic inverseDistance (inlet);
    frozenPointsZone fixedZone;
}
rangure is offline   Reply With Quote

Reply

Tags
diffusivity, displacementlaplacian, dynamic mesh


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
Eddy diffusivity and the simple gradient diffusion hypothesis blyatman Main CFD Forum 4 September 16, 2021 20:52
dynamicMeshDict diffusivity zhxter OpenFOAM Programming & Development 7 May 21, 2020 10:09
uds diffusivity Lee 小亢 Fluent UDF and Scheme Programming 4 March 7, 2018 06:28
Disable Mass Diffusivity and Enable UDS Diffusivity antoinel FLUENT 0 July 26, 2017 17:27
Diffusivity model in dynamicMeshDict of movingCone xuezhj OpenFOAM Running, Solving & CFD 0 October 2, 2012 22:11


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