CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

how to plot this function

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

LinkBack Thread Tools Display Modes
Old   August 13, 2008, 01:52
Default how to plot this function
Posts: n/a
dear friends: i have a function

sin(i*Pi*x), x=varied from 0 to 1. i want to know how to plot this function, since it include a complex number (i) regards
  Reply With Quote

Old   August 13, 2008, 06:41
Default Re: how to plot this function
Markus Lummer
Posts: n/a
1) You can use gnuplot. gnuplot can handle complex functions.

2) You can split the sine in real and complex part:

sin(x+iy) = sin(x)cosh(y) + i cos(x) sinh(y)

Regards, Markus
  Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 20:24.