Search found 18 matches

by suren
29 Jan 2012, 09:05
Forum: ElmerSolver
Topic: Navier Stokes Convergence issues
Replies: 1
Views: 2838

Re: Navier Stokes Convergence issues

hello. My experience is that using Picard (default) iteration scheme throughout (without jumping to Newton's) might help. For that, make sure followings are set properly Nonlinear System Newton After Iterations = 30 ! grater than (Nonlinear System Max Iterations = 20) Nonlinear System Newton After T...
by suren
25 Jan 2012, 21:07
Forum: ElmerSolver
Topic: Solver activation!
Replies: 1
Views: 1691

Solver activation!

Hello Elmer Guys, I understand that there are quite a few options on how and when to activate a solver, by inserting "Exec Solver" command in a relevant solver. "Exec Interval" is also there; but, what interval does it refer to? In fact, I need to activate/deactivate solver as to...
by suren
05 Oct 2011, 09:37
Forum: ElmerSolver
Topic: problem with sliding BC, when solving NS solver locally!
Replies: 0
Views: 1652

problem with sliding BC, when solving NS solver locally!

Hi guys, I just wanted to make slight changes in the Naiver-Stokes solver (FlowSolve). I obtained the source codes, subroutine FlowSolve.src and module NaiverStokes.src, and saved them as myFlowSolve.f90 and myNaiverStokes.f90 after making necessary changes. I compiled them locally and obtained the ...
by suren
08 Sep 2011, 21:11
Forum: ElmerSolver
Topic: saving data along a line in 3D
Replies: 0
Views: 1580

saving data along a line in 3D

Hi guys, In a 3D time-marching Navier–Stokes problem where the domain (upper) surface evolves in the vertical z-direction (i.e. mesh deforms only in the upper surface boundary), how do I save field variables along a specified line (say sinusoidal) on the surface (evolving) boundary? I tried to speci...
by suren
04 Oct 2010, 00:08
Forum: ElmerSolver
Topic: Sliding BC: problem with n-t coordinate description?
Replies: 1
Views: 1894

Sliding BC: problem with n-t coordinate description?

Hi, I am trying to impose a sliding BC for a visco-plastic flow... when I use default Navier Stokes Solver (via GUI) with suitable BC, it works: !--------------------------------------------------------- Solver 1 !--------------------------------------------------------- Equation = Navier-Stokes Pro...
by suren
05 Apr 2010, 20:39
Forum: ElmerSolver
Topic: Dirichlet boundary for a normal component of field variable!
Replies: 0
Views: 2287

Dirichlet boundary for a normal component of field variable!

Hi all, I am trying to solve Stokes equation with my own subroutine... the coordinate system is "2-D Cartesian"... in one of the boundaries, I need to set "normal component of velocity" to zero... I tried, but couldn't get it right... A part of .sif for that particular boundary l...
by suren
23 Mar 2010, 22:57
Forum: ElmerSolver
Topic: linking module to user-defined subroutine
Replies: 2
Views: 2579

Re: linking module to user-defined subroutine

thanks Juha,

actually it works this way--

$elmerf90 -c myModule.f90 /// this creates object file, along with .mod file
$elmerf90 -o mySolver.dll mySolver.f90 myModule.o

suren.
by suren
20 Mar 2010, 00:49
Forum: ElmerSolver
Topic: linking module to user-defined subroutine
Replies: 2
Views: 2579

linking module to user-defined subroutine

Hi Elmer guys, I am currently trying to link my own module to my own subroutine... but just couldn't get it right! I have a subroutine (say "mySubroutine" in mySolver.f90) which I link to Elmer dynamically as: $ elmerf90 -o mySolver.dll mySolver.f90 It works fine! But, if I try to refer to...
by suren
30 Nov 2009, 01:46
Forum: ElmerSolver
Topic: obtaining nodal (local) vector solution
Replies: 1
Views: 2582

Re: obtaining nodal (local) vector solution

I've got it, now... but with the sort of coding:
DO i=1, dim
Velocity(i,1:n) = FlowSolution((dim+1)*(FlowPerm(NodeIndexes(1:n))-1) + i)
END DO

... getting the nodal solution values directly, rather than using default subroutine GetVectorLocalSolution(Velocity)...

~suren
by suren
29 Nov 2009, 12:24
Forum: ElmerSolver
Topic: obtaining nodal (local) vector solution
Replies: 1
Views: 2582

obtaining nodal (local) vector solution

Hi. I've coded Stokes equation (2-D, Newtonian fluid).. its working well and yielding results (as can be seen in the ElmerPost) same as the ones from the standard NS solver (FlowSolver)... no problem until here... Now I am trying to include the material nonlinearity, which demands the local vector (...