CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Solve Poissons Equation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2007, 21:02
Default Solve Poissons Equation
  #1
Anil
Guest
 
Posts: n/a
Hi,

I am trying to solve for an additional variable that obeys a poissons equation using CFX-11. CFX couples this equation to that of momentum and continuity. Is there a way to solve this variable after solving momentum and continuity, essentially de-coupling this variable.

Anil
  Reply With Quote

Old   September 25, 2007, 10:19
Default Re: Solve Poissons Equation
  #2
CycLone
Guest
 
Posts: n/a
In the expert parameters, set

"solve additional variable = f" "solve fluids = t" "solve turbulence = t" "solve energy = t"

the solver will not solve your AV equation but will continue solving for the rest. When you run is complete, either edit the .res file using the def editor in Solver Manager or write a new .def file with the flag set to "solve additional variable = t" and set the others to 'f', then restart the analysis to solve your AV equation.

-CycLone
  Reply With Quote

Old   September 25, 2007, 10:21
Default Re: Solve Poissons Equation
  #3
opaque
Guest
 
Posts: n/a
Dear Anil,

Are you concerned with the solution, or with the "performance"/speed? The solution will be the same in any case.

Unfortunately, there is not mechanism (exposed to the user) to move a particular equation set to the solver post-processing stage (like NOx modeling does). A workaround (for steady state though) is to run the case w/o the AV and later restart the solution with the AV.

Hope this helps, Opaque

  Reply With Quote

Old   September 25, 2007, 10:52
Default Re: Solve Poissons Equation
  #4
Anil
Guest
 
Posts: n/a
Hi Guys,

Thanks for your responses. The momentum and continuity equations provide BC for the poissons equation. So what I want to do is: time =t Step 1: Solve for momentum and continuity. Step 2: Use the velocity and solve the poissons equation Step 3: time = t +dt

Anil
  Reply With Quote

Old   September 25, 2007, 12:02
Default Re: Solve Poissons Equation
  #5
CycLone
Guest
 
Posts: n/a
What are solving for with the Poisson equation?
  Reply With Quote

Old   September 25, 2007, 13:20
Default Re: Solve Poissons Equation
  #6
Anil
Guest
 
Posts: n/a
The poissons equation solves for a scalar variable (instantaneous pressure) generated by a moving boundary. The velocity from the momentum equation generates the velocity of the boundary, this is followed by solving for the instantaenous pressure, kind of like a pressure wave equation.

Your idea of changing the expert parameters could be used as: (1) Turn scalar variable =f and solve for velocity and pressure. (2) Change this parameter=t in the next time step and turn off velocity and pressure. repeat this cycle.

So the physical time = 0.5* CFX time.

Anil
  Reply With Quote

Old   September 25, 2007, 13:33
Default Re: Solve Poissons Equation
  #7
opaque
Guest
 
Posts: n/a
Dear Anil,

For transient simulations, I think you have no choice but to solve the equation with the defaults settings.

There is nothing wrong with the solution, except for the extra effort of solving for every coefficient loop. However, solving the Poisson (though you said is a wave equation, not Poisson) after the Cont+Mom equations are converged still requires several coefficient loops for the AV equation since it will not be solved in 1 iteration.

The workaround explained by "Mr. Cyclone" works well for steady runs, but it is not trivial for transient simulations.

Please contact your help representative, and place a request for additional solution controls such as this one.

Opaque

  Reply With Quote

Old   September 25, 2007, 13:34
Default Re: Solve Poissons Equation
  #8
CycLone
Guest
 
Posts: n/a
Hi Anil,

If you are moving the boundary, there is no need to do this. CFX will solve for the pressure wave caused by the boundary motion. If the fluid is incompressible, this will tranlate into an instantaneous change in pressure. If the fluid is compressilbe and the timestep is large you'll have a similar effect and if the timestep is small, you'll see the wave propegate.

-CycLone
  Reply With Quote

Old   September 25, 2007, 13:57
Default Re: Solve Poissons Equation
  #9
Anil
Guest
 
Posts: n/a
Hi Opaque and Cyclone,

I would look into the reccomendations you guys have made and post my findings later today.

Thanks once again for your guidance

Anil
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Solve poisson equation just add a source term nandiganavishal OpenFOAM Running, Solving & CFD 18 November 14, 2022 10:12
continuity equation Rafal Main CFD Forum 4 November 29, 2006 10:27
How to solve this ordinary differentiate equation ztdep Main CFD Forum 3 September 13, 2006 00:21
how to solve an equation at an interface sreenivas CFX 0 May 14, 2004 10:35
How to solve Poisson equation in CFX 4? windhair CFX 3 January 27, 2004 22:09


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