CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

how to plot this function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2008, 02:52
Default how to plot this function
  #1
ztdep
Guest
 
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, 07:41
Default Re: how to plot this function
  #2
Markus Lummer
Guest
 
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

Reply


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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10: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 01:35
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 16:26.