|
[Sponsors] |
[swak4Foam] Problems with implementing groovy BC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 14, 2015, 20:47 |
Problems with implementing groovy BC
|
#1 |
Member
Saurabh Tandon
Join Date: Nov 2015
Location: Austin
Posts: 43
Rep Power: 10 |
Hi
I am using OpenFoam to solve the magnetization decay problem and the boundary condition that I have looks like this: D.n.delta(M)+b.M = 0 where, D is scalar constant, n is the surface normal to the boundary face delta is the gradient operator b is a constant M is a vector field I tried using: boundaryField { fixedWalls { type groovyBC; refValue uniform (0 0 1); refGradient uniform (0 0 0); valueFraction uniform 1; value uniform (0 0 1); valueExpression "Tinf"; gradientExpression "0"; fractionExpression "f"; evaluateDuringConstruction 0; variables 4 ( "D=3e-09;" "rho=10e-06;" "Tinf=D/rho*snGrad(M);" "f=I;" ) ; timelines ( ); lookuptables ( ); } } but it gives me an error. Pleas let me know how I can code my boundary condition. Thank you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
Patankar 1980 (Diffusion Convection Problems) | hhandoko | System Analysis | 1 | January 25, 2018 07:56 |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 12:13 |
Problems implementing a boundary condition | ogloth | OpenFOAM Running, Solving & CFD | 3 | July 17, 2007 15:36 |
Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 11:00 |