|
[Sponsors] |
OpenFOAM 2.3.1 + swak4Foam + droplet deformation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2019, 13:31 |
OpenFOAM 2.3.1 + swak4Foam + droplet deformation
|
#1 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
Hi.
I am working on electrohydrodynamic droplet deformation. I have a custom interFoam solver which includes an electric equation. I am getting prolate and oblate deformation based on fluid properties and electric potential. The results match the experimental data. My next task is to calculate the deformation factor of the droplet. I am trying to use swak4Foam to get the deformation in x and y directions as indicated on https://openfoamwiki.net/index.php/C...ropletVelocity I have added the following library files in controlDict as indicated on the main page of swak4Foam (https://openfoamwiki.net/index.php/Contrib/swak4Foam) Code:
libs ( "libOpenFOAM.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libgroovyBC.so" ); Code:
mm@mdesktop:~$new1interFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-bcfaaa7b8660 Exec : new1interFoam Date : Jun 01 2019 Time : 17:09:06 Host : "mdesktop-VirtualBox" PID : 2741 Case : /home/mdesktop/Desktop/DropletY1casestudy/code2swak4foam nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PIMPLE: Operating solver in PISO mode Reading field p_rgh Reading field U Reading/calculating face flux field phi Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Reading electrical properties Found: eps1=eps [-1 -3 4 0 0 2 0] 3.42e-10,eps2=eps [-1 -3 4 0 0 2 0] 8.854e-12,sgm1=sgm [-1 -3 3 0 0 2 0] 2.9e-06,sgm2=sgm [-1 -3 3 0 0 2 0] 1.06e-11 Reading field Electric Potential Ue Reading field electric density rhoE Selecting turbulence model type laminar Reading g Calculating field g.h No finite volume options present time step continuity errors : sum local = 0, global = 0, cumulative = 0 GAMGPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 Courant Number mean: 0 max: 0 Starting time loop swak4Foam: Allocating new repository for sampledSurfaces --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 124 'outputControlMode' not found in x Assuming: timeStep --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 133 'outputInterval' not found in x Assuming: 1 --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "/home/mdesktop/Desktop/DropletY1casestudy/code2swak4foam/system/controlDict.functions.x". Assuming 'no' swak4Foam: Setting default mesh --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 124 'outputControlMode' not found in y Assuming: timeStep --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 133 'outputInterval' not found in y Assuming: 1 --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "/home/mdesktop/Desktop/DropletY1casestudy/code2swak4foam/system/controlDict.functions.y". Assuming 'no' --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 124 'outputControlMode' not found in Deformation Assuming: timeStep --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 133 'outputInterval' not found in Deformation Assuming: 1 --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "/home/mdesktop/Desktop/DropletY1casestudy/code2swak4foam/system/controlDict.functions.Deformation". Assuming 'no' --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 124 'outputControlMode' not found in Deformation1 Assuming: timeStep --> FOAM Warning : From function simpleFunctionObject::simpleFunctionObject in file simpleFunctionObject/simpleFunctionObject.C at line 133 'outputInterval' not found in Deformation1 Assuming: 1 --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "/home/mdesktop/Desktop/DropletY1casestudy/code2swak4foam/system/controlDict.functions.Deformation1". Assuming 'no' Courant Number mean: 0 max: 0 Interface Courant Number mean: 0 max: 0 deltaT = 1.19048e-09 Time = 1.19048e-09 MULES: Solving for alpha.water MULES: Solving for alpha.water Phase-1 volume fraction = 0.00134409 Min(alpha1) = 0 Max(alpha1) = 1 Two conductive liquids DILUPBiCG: Solving for rhoE, Initial residual = 1, Final residual = 3.46245e-17, No Iterations 1 DICPCG: Solving for Ue, Initial residual = 1, Final residual = 7.04992e-15, No Iterations 104 GAMG: Solving for p_rgh, Initial residual = 1, Final residual = 0.0403253, No Iterations 2 time step continuity errors : sum local = 2.44403e-06, global = 1.55626e-08, cumulative = 1.55626e-08 GAMG: Solving for p_rgh, Initial residual = 0.0149211, Final residual = 0.000685032, No Iterations 3 time step continuity errors : sum local = 5.51011e-07, global = -4.80209e-09, cumulative = 1.07605e-08 GAMGPCG: Solving for p_rgh, Initial residual = 0.00638892, Final residual = 8.66105e-09, No Iterations 11 time step continuity errors : sum local = 7.89196e-12, global = 1.47708e-13, cumulative = 1.07606e-08 ExecutionTime = 0.16 s ClockTime = 0 s Expression x : --> FOAM FATAL IO ERROR: cannot find file file: /home/mdesktop/Desktop/DropletY1casestudy/code2swak4foam/1.19048e-09/alpha1 at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting |
|
July 11, 2019, 06:22 |
|
#2 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
Hey. Could anyone help me with this issue? Still facing the same problem.
|
|
Tags |
droplet diameter, droplet simulation, electrohydrodynamic, openfoam-2.3.1, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4Foam and OpenFoam 3.0.x | fs82 | OpenFOAM Community Contributions | 38 | September 10, 2018 18:44 |
[swak4Foam] OpenFOAM v1606+ and swak4Foam | koscfd | OpenFOAM Community Contributions | 4 | September 26, 2016 19:24 |
[OpenFOAM.org] [SOLVED] Some packages could not be installed in OpenFOAM 2.3.1 in Ubuntu 14.04 LTS | yardsail | OpenFOAM Installation | 0 | April 20, 2015 12:50 |
OpenFOAM Foundation releases OpenFOAMŪ 2.3.1 | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 4 | February 8, 2015 06:19 |
Single Droplet deformation | hamsadhwani8 | OpenFOAM Running, Solving & CFD | 7 | November 22, 2008 12:12 |